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

Method spawn

src/_pytest/legacypath.py:246–248  ·  view source on GitHub ↗

See :meth:`Pytester.spawn`.

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

Source from the content-addressed store, hash-verified

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`."""
248 return self._pytester.spawn(cmd, expect_timeout=expect_timeout)
249
250 def __repr__(self) -> str:
251 return f"<Testdir {self.tmpdir!r}>"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected