MCPcopy Index your code
hub / github.com/RustPython/RustPython / findtestdir

Function findtestdir

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

Source from the content-addressed store, hash-verified

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

Callers 2

findtestsFunction · 0.85
split_test_packagesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected