(self)
| 1160 | assert err == "world" |
| 1161 | |
| 1162 | def test_capturing_reset_simple(self) -> None: |
| 1163 | with self.getcapture() as cap: |
| 1164 | print("hello world") |
| 1165 | sys.stderr.write("hello error\n") |
| 1166 | out, err = cap.readouterr() |
| 1167 | assert out == "hello world\n" |
| 1168 | assert err == "hello error\n" |
| 1169 | |
| 1170 | def test_capturing_readouterr(self) -> None: |
| 1171 | with self.getcapture() as cap: |
nothing calls this directly
no test coverage detected