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 @@ def testIPv6toString(self):
return return
except ImportError: except ImportError:
return return
if sys.platform == "win32": if sys.platform == "win32":
try: try:
inet_pton(AF_INET6, '::') inet_pton(AF_INET6, '::')
except OSError as e: except OSError as e:
if e.winerror == 10022: if e.winerror == 10022:
return # IPv6 might not be installed on this PC return # IPv6 might not be installed on this PC
f = lambda a: inet_pton(AF_INET6, a) f = lambda a: inet_pton(AF_INET6, a)
assertInvalid = lambda a: self.assertRaises( assertInvalid = lambda a: self.assertRaises(
(OSError, ValueError), f, a (OSError, ValueError), f, a