def tearDown(self):
     osutils._cached_user_encoding = self.old_user_encoding
     if hasattr(bzrlib, 'user_encoding'):
         bzrlib.user_encoding = self.old_user_encoding
     osutils._cached_user_encoding = self.old_user_encoding
     osutils.get_user_encoding = self.old_get_user_encoding
     sys.stdout = self.stdout
     TestCaseWithTransport.tearDown(self)
 def tearDown(self):
     osutils._cached_user_encoding = self.old_user_encoding
     if hasattr(bzrlib, 'user_encoding'):
         bzrlib.user_encoding = self.old_user_encoding
     osutils._cached_user_encoding = self.old_user_encoding
     osutils.get_user_encoding = self.old_get_user_encoding
     sys.stdout = self.stdout
     TestCaseWithTransport.tearDown(self)
Exemple #3
0
 def tearDown(self):
     bzrlib.user_encoding = self.user_encoding
     sys.stdout = self.stdout
     TestCaseWithTransport.tearDown(self)
Exemple #4
0
 def tearDown(self):
     bzrlib.user_encoding = self.user_encoding
     sys.stdout = self.stdout
     TestCaseWithTransport.tearDown(self)