~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_selftest.py

  • Committer: John Arbash Meinel
  • Date: 2011-08-11 10:33:51 UTC
  • mto: This revision was merged to the branch mainline in revision 6061.
  • Revision ID: john@arbash-meinel.com-20110811103351-vbkk4l1cq905u67d
test_unicode_test_output_on_ascii_stream, use the 3-tuple version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1251
1251
            lambda trace=False: "ascii")
1252
1252
        result = self.run_test_runner(tests.TextTestRunner(stream=out),
1253
1253
            FailureWithUnicode("test_log_unicode"))
1254
 
        if testtools_version > (0, 9, 11):
 
1254
        if testtools_version[:3] > (0, 9, 11):
1255
1255
            self.assertContainsRe(out.getvalue(), "log: {{{\d+\.\d+  \\\\u2606}}}")
1256
1256
        else:
1257
1257
            self.assertContainsRe(out.getvalue(),