~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_merge3.py

  • Committer: abentley
  • Date: 2006-04-20 23:47:53 UTC
  • mfrom: (1681 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1683.
  • Revision ID: abentley@lappy-20060420234753-6a6874b76f09f86d
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
from bzrlib.tests import TestCaseInTempDir, TestCase
19
19
from bzrlib.merge3 import Merge3
20
 
from bzrlib.errors import CantReprocessAndShowBase
 
20
from bzrlib.errors import CantReprocessAndShowBase, BinaryFile
21
21
 
22
22
def split_lines(t):
23
23
    from cStringIO import StringIO
324
324
        m_lines = m3.merge_lines('OTHER', 'THIS', reprocess=True, 
325
325
                                 base_marker='|||||||')
326
326
        self.assertRaises(CantReprocessAndShowBase, list, m_lines)
 
327
 
 
328
    def test_binary(self):
 
329
        self.assertRaises(BinaryFile, Merge3, ['\x00'], ['a'], ['b'])