diff options
Diffstat (limited to 'Lib/test/test_socket.py')
-rw-r--r-- | Lib/test/test_socket.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index e923d82..4269ef8 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -102,7 +102,7 @@ except SystemError: try: # On some versions, this crashes the interpreter. socket.getnameinfo(('x', 0, 0, 0), 0) -except socket.gaierror: +except socket.error: pass canfork = hasattr(os, 'fork') |