Commit 62a61edf authored by Shane Kerr's avatar Shane Kerr

Remove unwanted output to stdout during test.

parent 68b9571b
......@@ -639,7 +639,10 @@ class TestBrittle(unittest.TestCase):
self.exit_info = (5, 0)
bob._get_process_exit_status = self.simulated_exit
old_stdout = sys.stdout
sys.stdout = open("/dev/null", "w")
bob.reap_children()
sys.stdout = old_stdout
self.assertFalse(bob.runnable)
if __name__ == '__main__':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment