~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_revision_info.py

Better display of BzrError classes that are not BzrNewErrors.

(Suggested by mpe)

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
        b.working_tree().commit('Commit three', rev_id='a@r-0-3')
50
50
 
51
51
        # Make sure revision-info without any arguments throws an exception
52
 
        self.check_error('bzr: ERROR: bzrlib.errors.BzrCommandError: '
 
52
        self.check_error('bzr: ERROR: '
53
53
                         'You must supply a revision identifier\n',
54
54
                         'revision-info')
55
55