(self)
| 1244 | assert not out |
| 1245 | |
| 1246 | def test_stdin_restored(self) -> None: |
| 1247 | old = sys.stdin |
| 1248 | with self.getcapture(in_=True): |
| 1249 | newstdin = sys.stdin |
| 1250 | assert newstdin != sys.stdin |
| 1251 | assert sys.stdin is old |
| 1252 | |
| 1253 | def test_stdin_nulled_by_default(self) -> None: |
| 1254 | print("XXX this test may well hang instead of crashing") |
nothing calls this directly
no test coverage detected