Esempio n. 1
0
 def setUp(self):
     self.bdrain = BBuf()
     """Buffer accepting binary strings (bytes)"""
     self.udrain = UBuf()
     """Buffer accepting unicode strings"""
     self.mock_stdout = mock_stdout()
     """Stub of sys.stdout under Python 3"""