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

Method runpython_c

src/_pytest/pytester.py:1444–1446  ·  view source on GitHub ↗

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

(self, command: str)

Source from the content-addressed store, hash-verified

1442 return self.run(sys.executable, script)
1443
1444 def runpython_c(self, command: str) -> RunResult:
1445 """Run ``python -c "command"``."""
1446 return self.run(sys.executable, "-c", command)
1447
1448 def runpytest_subprocess(
1449 self, *args: Union[str, "os.PathLike[str]"], timeout: Optional[float] = None

Callers 1

test_pydocMethod · 0.45

Calls 1

runMethod · 0.95

Tested by

no test coverage detected