diff --git a/Lib/test/autotest.py b/Lib/test/autotest.py index aadd1702ff6..0506fa2fd37 100644 --- a/Lib/test/autotest.py +++ b/Lib/test/autotest.py @@ -93,7 +93,11 @@ def do_one_test(t, outdir): print 'Generating:', filename fake_stdout = open(filename, 'w') else: - fake_stdout = Compare(filename) + try: + fake_stdout = Compare(filename) + except IOError: + print 'Could not find output file for test:', t + return try: sys.stdout = fake_stdout print t