(self)
| 880 | sio.close() |
| 881 | |
| 882 | def test_unicode_and_str_mixture(self) -> None: |
| 883 | sio = io.StringIO() |
| 884 | f = capture.TeeCaptureIO(sio) |
| 885 | f.write("\u00f6") |
| 886 | pytest.raises(TypeError, f.write, b"hello") |
| 887 | |
| 888 | |
| 889 | def test_dontreadfrominput() -> None: |