40
40
super(TestNonAscii, self).setUp()
41
41
self._check_can_encode_paths()
43
self.addCleanup(setattr, osutils, "_cached_user_encoding",
45
44
osutils._cached_user_encoding = self.encoding
46
45
email = self.info['committer'] + ' <joe@foo.com>'
47
46
os.environ['BZR_EMAIL'] = email.encode(osutils.get_user_encoding())