MCPcopy
hub / github.com/pytest-dev/pytest / runpython_c

Method runpython_c

src/_pytest/pytester.py:1487–1489  ·  view source on GitHub ↗

Run ``python -c "command"``.

(self, command: str)

Source from the content-addressed store, hash-verified

1485 return self.run(sys.executable, script)
1486
1487 def runpython_c(self, command: str) -> RunResult:
1488 """Run ``python -c "command"``."""
1489 return self.run(sys.executable, "-c", command)
1490
1491 def runpytest_subprocess(
1492 self, *args: str | os.PathLike[str], timeout: float | None = None

Callers 2

test_pydocMethod · 0.45

Calls 1

runMethod · 0.95

Tested by

no test coverage detected