~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_exceptions.py

  • Committer: Martin Pool
  • Date: 2006-06-04 22:04:20 UTC
  • mto: This revision was merged to the branch mainline in revision 1797.
  • Revision ID: mbp@sourcefrog.net-20060604220420-6bab3e2b6ebe013e
Cleanup more exception-formatting code

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
        """When an error occurs, display bug report details to stderr"""
29
29
        out, err = self.run_bzr("assert-fail", retcode=3)
30
30
        self.assertContainsRe(err,
31
 
                r'bzr: unhandled error: exceptions\.AssertionError: always fails\n')
 
31
                r'bzr: ERROR: exceptions\.AssertionError: always fails\n')
32
32
        self.assertContainsRe(err, r'please send this report to')
33
33
 
34
34
    # TODO: assert-fail doesn't need to always be present; we could just