(self)
| 1114 | assert out == "hxąć\n" |
| 1115 | |
| 1116 | def test_reset_twice_error(self) -> None: |
| 1117 | with self.getcapture() as cap: |
| 1118 | print("hello") |
| 1119 | out, err = cap.readouterr() |
| 1120 | pytest.raises(ValueError, cap.stop_capturing) |
| 1121 | assert out == "hello\n" |
| 1122 | assert not err |
| 1123 | |
| 1124 | def test_capturing_modify_sysouterr_in_between(self) -> None: |
| 1125 | oldout = sys.stdout |
nothing calls this directly
no test coverage detected