Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ test_fixture
Function
test_fixture
testing/example_scripts/tmpdir/tmp_path_fixture.py:5–7 ·
view source on GitHub ↗
(tmp_path, a)
Source
from the content-addressed store, hash-verified
3
4
@pytest.mark.parametrize(
"a"
, [r
"qwe/\abc"
])
5
def
test_fixture(tmp_path, a):
6
assert tmp_path.is_dir()
7
assert list(tmp_path.iterdir()) == []
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected