summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_socket.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index eb8619f..a7c2516 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -980,14 +980,14 @@ class GeneralModuleTests(unittest.TestCase):
return
except ImportError:
return
-
+
if sys.platform == "win32":
try:
inet_pton(AF_INET6, '::')
except OSError as e:
if e.winerror == 10022:
return # IPv6 might not be installed on this PC
-
+
f = lambda a: inet_pton(AF_INET6, a)
assertInvalid = lambda a: self.assertRaises(
(OSError, ValueError), f, a