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

Function test_makefile_joins_absolute_path

testing/test_pytester.py:810–813  ·  view source on GitHub ↗
(pytester: Pytester)

Source from the content-addressed store, hash-verified

808
809
810def test_makefile_joins_absolute_path(pytester: Pytester) -> None:
811 absfile = pytester.path / "absfile"
812 p1 = pytester.makepyfile(**{str(absfile): ""})
813 assert str(p1) == str(pytester.path / "absfile.py")
814
815
816def test_pytester_makefile_dot_prefixes_extension_with_warning(

Callers

nothing calls this directly

Calls 1

makepyfileMethod · 0.45

Tested by

no test coverage detected