111
111
mutter(u'Writing a greek mu (\xb5) works in a unicode string')
112
112
mutter('But fails in an ascii string \xb5')
113
114
# TODO: jam 20051227 mutter() doesn't flush the log file, and
114
115
# self._get_log() opens the file directly and reads it.
115
116
# So we need to manually flush the log file
119
119
self.assertContainsRe(log, 'Writing a greek mu')
120
120
self.assertContainsRe(log, 'UnicodeError')
121
121
self.assertContainsRe(log, "'But fails in an ascii string")