(self)
| 166 | raw.close = lambda: None |
| 167 | |
| 168 | def test_multi_close(self): |
| 169 | raw = self.MockRawIO() |
| 170 | b = self.tp(raw) |
| 171 | b.close() |
| 172 | b.close() |
| 173 | b.close() |
| 174 | self.assertRaises(ValueError, b.flush) |
| 175 | |
| 176 | def test_unseekable(self): |
| 177 | bufio = self.tp(self.MockUnseekableIO(b"A" * 10)) |
nothing calls this directly
no test coverage detected