diff --git a/archivebox/tests.py b/archivebox/tests.py index 50090e9c..80096e8a 100755 --- a/archivebox/tests.py +++ b/archivebox/tests.py @@ -83,6 +83,9 @@ def output_hidden(show_failing=True): with open('stderr.txt', 'r') as f: print(f.read()) raise + finally: + os.remove('stdout.txt') + os.remove('stderr.txt') class TestInit(unittest.TestCase):