Normalize whitespace

This commit is contained in:
Jason R. Coombs 2013-11-10 14:02:04 -05:00
parent 8ec784c2df
commit 6bdc498734
1 changed files with 2 additions and 2 deletions

View File

@ -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