From: Jason R. Coombs Date: Sun, 10 Nov 2013 19:02:04 +0000 (-0500) Subject: Normalize whitespace X-Git-Tag: v3.4.0b1~327^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6bdc498734e83afbfd8d80c2f70b5d3800d65223;p=thirdparty%2FPython%2Fcpython.git Normalize whitespace --- diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index eb8619f75c7c..a7c25160750d 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