40
40
super(TestNonAscii, self).setUp()
43
self.addCleanup(setattr, osutils, "_cached_user_encoding",
43
45
osutils._cached_user_encoding = self.encoding
44
46
email = self.info['committer'] + ' <joe@foo.com>'
45
47
os.environ['BZR_EMAIL'] = email.encode(osutils.get_user_encoding())
52
50
def run_bzr_decode(self, args, encoding=None, fail=False, retcode=None,
54
52
"""Run bzr and decode the output into a particular encoding.