/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_trace.py

  • Committer: Martin
  • Date: 2010-05-06 11:36:58 UTC
  • mto: This revision was merged to the branch mainline in revision 5246.
  • Revision ID: gzlist@googlemail.com-20100506113658-eu18ypalseutpn7t
Treat pywintypes.error as a user error as per OSError, rather than an internal error

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
        msg = _format_exception()
115
115
        # GZ 2010-05-03: Formatting for pywintypes.error is basic, a 3-tuple
116
116
        #                with errno, function name, and locale error message
117
 
        self.expectFailure("pywintypes.error not treated as user error",
118
 
            self.assertContainsRe, msg,
 
117
        self.assertContainsRe(msg,
119
118
            r"^bzr: ERROR: \(2, 'RemoveDirectory', .*\)")
120
119
 
121
120
    def test_format_unicode_error(self):