18
18
from bzrlib.patch import diff3
19
19
from bzrlib.tests import TestCaseInTempDir
21
22
class TestPatch(TestCaseInTempDir):
22
24
def test_diff3_binaries(self):
23
25
file('this', 'wb').write('a')
24
26
file('other', 'wb').write('a')
25
27
file('base', 'wb').write('\x00')
26
28
self.assertRaises(BinaryFile, diff3, 'unused', 'this', 'other', 'base')