(self)
| 2023 | self.assertEqual(b''.join(writer._write_stack), b'abcdef') |
| 2024 | |
| 2025 | def test_writelines_userlist(self): |
| 2026 | l = UserList([b'ab', b'cd', b'ef']) |
| 2027 | writer = self.MockRawIO() |
| 2028 | bufio = self.tp(writer, 8) |
| 2029 | bufio.writelines(l) |
| 2030 | bufio.flush() |
| 2031 | self.assertEqual(b''.join(writer._write_stack), b'abcdef') |
| 2032 | |
| 2033 | def test_writelines_error(self): |
| 2034 | writer = self.MockRawIO() |
nothing calls this directly
no test coverage detected