(self)
| 1171 | assert sys.stdin is old |
| 1172 | |
| 1173 | def test_stdin_nulled_by_default(self) -> None: |
| 1174 | print("XXX this test may well hang instead of crashing") |
| 1175 | print("XXX which indicates an error in the underlying capturing") |
| 1176 | print("XXX mechanisms") |
| 1177 | with self.getcapture(): |
| 1178 | pytest.raises(OSError, sys.stdin.read) |
| 1179 | |
| 1180 | |
| 1181 | class TestTeeStdCapture(TestStdCapture): |
nothing calls this directly
no test coverage detected