(self)
| 1193 | assert out == "hxąć\n" |
| 1194 | |
| 1195 | def test_reset_twice_error(self) -> None: |
| 1196 | with self.getcapture() as cap: |
| 1197 | print("hello") |
| 1198 | out, err = cap.readouterr() |
| 1199 | with pytest.raises(ValueError): |
| 1200 | cap.stop_capturing() |
| 1201 | assert out == "hello\n" |
| 1202 | assert not err |
| 1203 | |
| 1204 | def test_capturing_modify_sysouterr_in_between(self) -> None: |
| 1205 | oldout = sys.stdout |
nothing calls this directly
no test coverage detected