(self)
| 1108 | assert capture_result.err == "world" |
| 1109 | |
| 1110 | def test_capturing_readouterr_unicode(self) -> None: |
| 1111 | with self.getcapture() as cap: |
| 1112 | print("hxąć") |
| 1113 | out, err = cap.readouterr() |
| 1114 | assert out == "hxąć\n" |
| 1115 | |
| 1116 | def test_reset_twice_error(self) -> None: |
| 1117 | with self.getcapture() as cap: |
nothing calls this directly
no test coverage detected