105
105
self.fail('We were able to write all lines')
107
107
bytes_list, unused, _ = writer.finish()
108
108
node_bytes = self.check_chunk(bytes_list, 4096)
109
109
# the first 44 lines should have been added
111
111
self.assertEqualDiff(expected_bytes, node_bytes)
112
112
# And the line that failed should have been saved for us
113
113
self.assertEqual(lines[44], unused)