~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_trace.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-22 21:39:33 UTC
  • mto: This revision was merged to the branch mainline in revision 1953.
  • Revision ID: john@arbash-meinel.com-20060822213933-f993a9d069823426
Change mutter() so that it doesn't try so hard to write out perfect utf8, instead, rather than using a utf8 file, it changes unicode to utf8 manually

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
        self._log_file.flush()
126
126
        log = self._get_log()
127
127
        self.assertContainsRe(log, 'Writing a greek mu')
128
 
        self.assertContainsRe(log, 'UnicodeError')
129
 
        self.assertContainsRe(log, "'But fails in an ascii string")
130
 
        self.assertContainsRe(log, ": %s', '\\\\xb5'")
 
128
        self.assertContainsRe(log, "But fails in an ascii string")
 
129
        self.assertContainsRe(log, u"ascii argument: \xb5")