(self)
| 1164 | assert not out |
| 1165 | |
| 1166 | def test_stdin_restored(self) -> None: |
| 1167 | old = sys.stdin |
| 1168 | with self.getcapture(in_=True): |
| 1169 | newstdin = sys.stdin |
| 1170 | assert newstdin != sys.stdin |
| 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") |
nothing calls this directly
no test coverage detected