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

  • Committer: Andrew Bennetts
  • Date: 2007-10-26 08:12:56 UTC
  • mto: This revision was merged to the branch mainline in revision 2946.
  • Revision ID: andrew.bennetts@canonical.com-20071026081256-7py6j5tfe37w2eq2
Fix test_callCatchWarnings to pass when run with Python 2.4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1538
1538
        # eq well
1539
1539
        w0, = wlist
1540
1540
        self.assertIsInstance(w0, UserWarning)
1541
 
        self.assertEquals("this is your last warning", w0.message)
 
1541
        self.assertEquals("this is your last warning", str(w0))
1542
1542
 
1543
1543
 
1544
1544
class TestConvenienceMakers(TestCaseWithTransport):