summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/autotest.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/test/autotest.py b/Lib/test/autotest.py
index aadd170..0506fa2 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