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

Method spawn_pytest

src/_pytest/legacypath.py:240–244  ·  view source on GitHub ↗

See :meth:`Pytester.spawn_pytest`.

(
        self, string: str, expect_timeout: float = 10.0
    )

Source from the content-addressed store, hash-verified

238 return self._pytester.runpytest_subprocess(*args, timeout=timeout)
239
240 def spawn_pytest(
241 self, string: str, expect_timeout: float = 10.0
242 ) -> "pexpect.spawn":
243 """See :meth:`Pytester.spawn_pytest`."""
244 return self._pytester.spawn_pytest(string, expect_timeout=expect_timeout)
245
246 def spawn(self, cmd: str, expect_timeout: float = 10.0) -> "pexpect.spawn":
247 """See :meth:`Pytester.spawn`."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected