summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_os.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r--Lib/test/test_os.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index bec3b90..6adf109 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -111,7 +111,7 @@ class StatAttributeTests(unittest.TestCase):
try:
result.st_rdev = 1
self.fail("No exception thrown")
- except TypeError:
+ except (AttributeError, TypeError):
pass
try: