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

Function legacy_path

src/_pytest/compat.py:40–42  ·  view source on GitHub ↗

Internal wrapper to prepare lazy proxies for legacy_path instances

(path: Union[str, "os.PathLike[str]"])

Source from the content-addressed store, hash-verified

38
39
40def legacy_path(path: Union[str, "os.PathLike[str]"]) -> LEGACY_PATH:
41 """Internal wrapper to prepare lazy proxies for legacy_path instances"""
42 return LEGACY_PATH(path)
43
44
45# fmt: off

Callers 15

tmpdirMethod · 0.90
test_tmprootMethod · 0.90
makefileMethod · 0.90
makeconftestMethod · 0.90
makeiniMethod · 0.90
makepyprojecttomlMethod · 0.90
makepyfileMethod · 0.90
maketxtfileMethod · 0.90
mkdirMethod · 0.90
mkpydirMethod · 0.90
copy_exampleMethod · 0.90
mktempMethod · 0.90

Calls

no outgoing calls