fix: use tempfile.TemporaryDirectory instead of pytest tmp_path fixture
The custom pytest.py runner doesn't support fixtures. Replace tmp_path parameter with tempfile.TemporaryDirectory context manager so tests work with the minimal test runner.
The custom pytest.py runner doesn't support fixtures. Replace tmp_path parameter with tempfile.TemporaryDirectory context manager so tests work with the minimal test runner.