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

Function Session_stardir

src/_pytest/legacypath.py:374–381  ·  view source on GitHub ↗

The path from which pytest was invoked. Prefer to use ``startpath`` which is a :class:`pathlib.Path`. :type: LEGACY_PATH

(self: Session)

Source from the content-addressed store, hash-verified

372
373
374def Session_stardir(self: Session) -> LEGACY_PATH:
375 """The path from which pytest was invoked.
376
377 Prefer to use ``startpath`` which is a :class:`pathlib.Path`.
378
379 :type: LEGACY_PATH
380 """
381 return legacy_path(self.startpath)
382
383
384def Config__getini_unknown_type(

Callers

nothing calls this directly

Calls 1

legacy_pathFunction · 0.90

Tested by

no test coverage detected