(self)
| 667 | self.assertEqual(b"".join(rawio._write_stack), b"abcghi") |
| 668 | |
| 669 | def test_uninitialized(self): |
| 670 | bufio = self.tp.__new__(self.tp) |
| 671 | del bufio |
| 672 | bufio = self.tp.__new__(self.tp) |
| 673 | self.assertRaisesRegex((ValueError, AttributeError), |
| 674 | 'uninitialized|has no attribute', |
| 675 | bufio.write, b'') |
| 676 | bufio.__init__(self.MockRawIO()) |
| 677 | self.assertEqual(bufio.write(b''), 0) |
| 678 | |
| 679 | def test_detach_flush(self): |
| 680 | raw = self.MockRawIO() |
nothing calls this directly
no test coverage detected