(self)
| 1081 | assert err == "world" |
| 1082 | |
| 1083 | def test_capturing_reset_simple(self) -> None: |
| 1084 | with self.getcapture() as cap: |
| 1085 | print("hello world") |
| 1086 | sys.stderr.write("hello error\n") |
| 1087 | out, err = cap.readouterr() |
| 1088 | assert out == "hello world\n" |
| 1089 | assert err == "hello error\n" |
| 1090 | |
| 1091 | def test_capturing_readouterr(self) -> None: |
| 1092 | with self.getcapture() as cap: |
nothing calls this directly
no test coverage detected