diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_mailbox.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_mailbox.py b/Lib/test/test_mailbox.py index e28d721..382a42e 100644 --- a/Lib/test/test_mailbox.py +++ b/Lib/test/test_mailbox.py @@ -21,8 +21,8 @@ try: finally: try: os.rmdir(newdir) - except IOError: pass + except os.error: pass try: os.rmdir(curdir) - except IOError: pass + except os.error: pass try: os.rmdir(test_support.TESTFN) - except IOError: pass + except os.error: pass |