Skip to content

Remove hardcoded /tmp/bindings.py path in test_static_demo.py #356

Description

@coderabbitai

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

  • Replace the hardcoded /tmp/bindings.py path with a tmp_path-based path in the decl fixture.
  • Verify no other occurrences of /tmp/bindings.py exist in the test file that need updating.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions