MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_tmp_path_fixture

Function test_tmp_path_fixture

testing/test_tmpdir.py:28–31  ·  view source on GitHub ↗
(pytester: Pytester)

Source from the content-addressed store, hash-verified

26
27
28def test_tmp_path_fixture(pytester: Pytester) -> None:
29 p = pytester.copy_example("tmpdir/tmp_path_fixture.py")
30 results = pytester.runpytest(p)
31 results.stdout.fnmatch_lines(["*1 passed*"])
32
33
34@attr.s

Callers

nothing calls this directly

Calls 3

fnmatch_linesMethod · 0.80
copy_exampleMethod · 0.45
runpytestMethod · 0.45

Tested by

no test coverage detected