~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_log.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:
387
387
        self.make_minimal_branch()
388
388
        out, err = self.run_bzr(['log', '-m', '*'], retcode=3)
389
389
        self.assertContainsRe(err, "ERROR.*Invalid pattern.*nothing to repeat")
 
390
        self.assertNotContainsRe(err, "Unprintable exception")
390
391
        self.assertEqual(out, '')
391
392
 
392
393
    def test_log_unsupported_timezone(self):