1
0
Fork 0
mirror of synced 2024-06-29 19:41:05 +12:00

cleanup after test output

This commit is contained in:
Nick Sweeting 2019-04-17 02:27:38 -04:00
parent 8101ce7f23
commit ecf95d398a

View file

@ -83,6 +83,9 @@ def output_hidden(show_failing=True):
with open('stderr.txt', 'r') as f: with open('stderr.txt', 'r') as f:
print(f.read()) print(f.read())
raise raise
finally:
os.remove('stdout.txt')
os.remove('stderr.txt')
class TestInit(unittest.TestCase): class TestInit(unittest.TestCase):