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

Method test_simple_fail_second_start

testing/test_capture.py:980–984  ·  view source on GitHub ↗
(self, tmpfile: BinaryIO)

Source from the content-addressed store, hash-verified

978 self.test_simple_many(tmpfile)
979
980 def test_simple_fail_second_start(self, tmpfile: BinaryIO) -> None:
981 fd = tmpfile.fileno()
982 cap = capture.FDCapture(fd)
983 cap.done()
984 pytest.raises(AssertionError, cap.start)
985
986 def test_stderr(self) -> None:
987 cap = capture.FDCapture(2)

Callers

nothing calls this directly

Calls 2

filenoMethod · 0.45
doneMethod · 0.45

Tested by

no test coverage detected