MCPcopy Index your code
hub / github.com/python/cpython / findtestdir

Function findtestdir

Lib/test/libregrtest/findtests.py:36–37  ·  view source on GitHub ↗
(path: StrPath | None = None)

Source from the content-addressed store, hash-verified

34
35
36def findtestdir(path: StrPath | None = None) -> StrPath:
37 return path or os.path.dirname(os.path.dirname(__file__)) or os.curdir
38
39
40def findtests(*, testdir: StrPath | None = None, exclude: Container[str] = (),

Callers 2

findtestsFunction · 0.85
split_test_packagesFunction · 0.85

Calls 1

dirnameMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…