summaryrefslogtreecommitdiff
path: root/Lib/test/test_email/torture_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_email/torture_test.py')
-rw-r--r--Lib/test/test_email/torture_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_email/torture_test.py b/Lib/test/test_email/torture_test.py
index 544b1bbb39..19cf64f0c7 100644
--- a/Lib/test/test_email/torture_test.py
+++ b/Lib/test/test_email/torture_test.py
@@ -27,7 +27,7 @@ def openfile(filename):
# Prevent this test from running in the Python distro
try:
openfile('crispin-torture.txt')
-except IOError:
+except OSError:
raise TestSkipped