diff options
Diffstat (limited to 'Lib/test/test_select.py')
-rw-r--r-- | Lib/test/test_select.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_select.py b/Lib/test/test_select.py index dee5921..8f9a1c9 100644 --- a/Lib/test/test_select.py +++ b/Lib/test/test_select.py @@ -32,7 +32,7 @@ class SelectTestCase(unittest.TestCase): fp.close() try: select.select([fd], [], [], 0) - except select.error as err: + except OSError as err: self.assertEqual(err.errno, errno.EBADF) else: self.fail("exception not raised") |