Summary
The test fixture decl in numbast/src/numbast/experimental/mlir/static/tests/test_static_demo.py writes generated binding source to the fixed absolute path /tmp/bindings.py. This can cause collisions in parallel test runs and reduces portability across environments.
The path should be replaced with pytest's tmp_path fixture to ensure each test run uses an isolated temporary directory.
References
Acceptance Criteria
Summary
The test fixture
declinnumbast/src/numbast/experimental/mlir/static/tests/test_static_demo.pywrites generated binding source to the fixed absolute path/tmp/bindings.py. This can cause collisions in parallel test runs and reduces portability across environments.The path should be replaced with pytest's
tmp_pathfixture to ensure each test run uses an isolated temporary directory.References
Acceptance Criteria
/tmp/bindings.pypath with atmp_path-based path in thedeclfixture./tmp/bindings.pyexist in the test file that need updating.