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

Method _getpytestargs

src/_pytest/pytester.py:1437–1438  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1435 print(f"couldn't print to {fp} because of encoding")
1436
1437 def _getpytestargs(self) -> Tuple[str, ...]:
1438 return sys.executable, "-mpytest"
1439
1440 def runpython(self, script: "os.PathLike[str]") -> RunResult:
1441 """Run a python script using sys.executable as interpreter."""

Callers 3

runpytest_subprocessMethod · 0.95
spawn_pytestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected