summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_logging.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-17 20:23:46 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-17 20:23:46 (GMT)
commit6d8a122b9c0f9a8032030c208a467a4923a96266 (patch)
tree40d497f177b35a7e77f7bbafde81f8f9cfa8f38a /Lib/test/test_logging.py
parent5ee29491e57b7477921f71e8dacfe1e1a3336912 (diff)
downloadcpython-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.py2
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.