(self)
| 1073 | cap.stop_capturing() |
| 1074 | |
| 1075 | def test_capturing_done_simple(self) -> None: |
| 1076 | with self.getcapture() as cap: |
| 1077 | sys.stdout.write("hello") |
| 1078 | sys.stderr.write("world") |
| 1079 | out, err = cap.readouterr() |
| 1080 | assert out == "hello" |
| 1081 | assert err == "world" |
| 1082 | |
| 1083 | def test_capturing_reset_simple(self) -> None: |
| 1084 | with self.getcapture() as cap: |
nothing calls this directly
no test coverage detected