Commit 6bdc4987 authored by Jason R. Coombs's avatar Jason R. Coombs

Normalize whitespace

parent 8ec784c2
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment