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

Function Cache_makedir

src/_pytest/legacypath.py:320–325  ·  view source on GitHub ↗

Return a directory path object with the given name. Same as :func:`mkdir`, but returns a legacy py path instance.

(self: Cache, name: str)

Source from the content-addressed store, hash-verified

318
319
320def Cache_makedir(self: Cache, name: str) -> LEGACY_PATH:
321 """Return a directory path object with the given name.
322
323 Same as :func:`mkdir`, but returns a legacy py path instance.
324 """
325 return legacy_path(self.mkdir(name))
326
327
328def FixtureRequest_fspath(self: FixtureRequest) -> LEGACY_PATH:

Callers

nothing calls this directly

Calls 2

legacy_pathFunction · 0.90
mkdirMethod · 0.45

Tested by

no test coverage detected