/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Parth Malwankar
  • Date: 2010-07-09 16:16:11 UTC
  • mto: This revision was merged to the branch mainline in revision 5340.
  • Revision ID: parth.malwankar@gmail.com-20100709161611-d9w6eiwze2ilk8dk
fixes errors.InvalidPattern to work on Python2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
655
655
        str(err)
656
656
        self.assertEqual(['open_repository'], fake_bzrdir.calls)
657
657
 
 
658
    def test_invalid_pattern(self):
 
659
        error = errors.InvalidPattern('Bad pattern msg.')
 
660
        self.assertEqualDiff("Invalid pattern(s) found. Bad pattern msg.",
 
661
            str(error))
 
662
 
658
663
 
659
664
class PassThroughError(errors.BzrError):
660
665