(self)
| 983 | txt.flush = lambda: None |
| 984 | |
| 985 | def test_multi_close(self): |
| 986 | txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii") |
| 987 | txt.close() |
| 988 | txt.close() |
| 989 | txt.close() |
| 990 | self.assertRaises(ValueError, txt.flush) |
| 991 | |
| 992 | def test_unseekable(self): |
| 993 | txt = self.TextIOWrapper(self.MockUnseekableIO(self.testdata), encoding="utf-8") |
nothing calls this directly
no test coverage detected