summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/unittest')
-rw-r--r--Lib/unittest/test/test_assertions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/unittest/test/test_assertions.py b/Lib/unittest/test/test_assertions.py
index 1b0e833..31565da 100644
--- a/Lib/unittest/test/test_assertions.py
+++ b/Lib/unittest/test/test_assertions.py
@@ -112,8 +112,8 @@ class Test_Assertions(unittest.TestCase):
a = A()
wr = weakref.ref(a)
try:
- raise IOError
- except IOError:
+ raise OSError
+ except OSError:
raise ValueError
def test_functional(self):