Show More
@@ -99,6 +99,9 b' class TestStdio(unittest.TestCase):' | |||||
99 | self.assertEqual( |
|
99 | self.assertEqual( | |
100 | _readall(stream_receiver, 1024), expected_output |
|
100 | _readall(stream_receiver, 1024), expected_output | |
101 | ) |
|
101 | ) | |
|
102 | except: # re-raises | |||
|
103 | proc.terminate() | |||
|
104 | raise | |||
102 | finally: |
|
105 | finally: | |
103 | retcode = proc.wait() |
|
106 | retcode = proc.wait() | |
104 | self.assertEqual(retcode, 0) |
|
107 | self.assertEqual(retcode, 0) |
General Comments 0
You need to be logged in to leave comments.
Login now