156
156
self.assertContainsRe(str(patches[0]),
157
157
'Binary files bar\t.* and qux\t.* differ\n')
159
168
def test_roundtrip_binary(self):
160
169
patchtext = ''.join(self.data_lines("binary.patch"))
161
170
patches = parse_patches(patchtext.splitlines(True))