Esempio n. 1
0
 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)
Esempio n. 2
0
 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)
Esempio n. 3
0
 def tearDown(self):
     bzrlib.user_encoding = self.user_encoding
     sys.stdout = self.stdout
     TestCaseWithTransport.tearDown(self)
Esempio n. 4
0
 def tearDown(self):
     bzrlib.user_encoding = self.user_encoding
     sys.stdout = self.stdout
     TestCaseWithTransport.tearDown(self)