diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-17 20:23:46 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-17 20:23:46 (GMT) |
commit | 6d8a122b9c0f9a8032030c208a467a4923a96266 (patch) | |
tree | 40d497f177b35a7e77f7bbafde81f8f9cfa8f38a /Lib/test/test_logging.py | |
parent | 5ee29491e57b7477921f71e8dacfe1e1a3336912 (diff) | |
download | cpython-6d8a122b9c0f9a8032030c208a467a4923a96266.zip cpython-6d8a122b9c0f9a8032030c208a467a4923a96266.tar.gz cpython-6d8a122b9c0f9a8032030c208a467a4923a96266.tar.bz2 |
Issue #16704: Get rid of select.error in stdlib. Use OSError instead.
Diffstat (limited to 'Lib/test/test_logging.py')
-rw-r--r-- | Lib/test/test_logging.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 54ab486..9b76055 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -773,7 +773,7 @@ if threading: """ try: asyncore.loop(poll_interval, map=self.sockmap) - except select.error: + except OSError: # On FreeBSD 8, closing the server repeatably # raises this error. We swallow it if the # server has been closed. |