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

Method runpython

src/_pytest/legacypath.py:228–230  ·  view source on GitHub ↗

See :meth:`Pytester.runpython`.

(self, script)

Source from the content-addressed store, hash-verified

226 return self._pytester.run(*cmdargs, timeout=timeout, stdin=stdin)
227
228 def runpython(self, script) -> RunResult:
229 """See :meth:`Pytester.runpython`."""
230 return self._pytester.runpython(script)
231
232 def runpython_c(self, command):
233 """See :meth:`Pytester.runpython_c`."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected