Esempio n. 1
0
 def setUp(self):
     # nosetests captures sys.stdout, but so do we
     self.stdout = sys.stdout
     sys.stdout = output._logger = output._OutputLogger(stdout=self.stdout)
Esempio n. 2
0
 def setUp(self):
     self.old_stdout = sys.stdout
     self.old_logger = output._logger
     sys.stdout = output._logger = output._OutputLogger()
     output.on()
Esempio n. 3
0
 def setUp(self):
     self.old_stdout = sys.stdout
     self.old_logger = output._logger
     sys.stdout = output._logger = output._OutputLogger()
     output.on()