mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
This commit is contained in:
parent
613debcf0a
commit
15f44ab043
72 changed files with 121 additions and 121 deletions
|
@ -1263,7 +1263,7 @@ class IpaddrUnitTest(unittest.TestCase):
|
|||
ip4 = ipaddress.IPv4Address('1.1.1.3')
|
||||
ip5 = ipaddress.IPv4Address('1.1.1.4')
|
||||
ip6 = ipaddress.IPv4Address('1.1.1.0')
|
||||
# check that addreses are subsumed properly.
|
||||
# check that addresses are subsumed properly.
|
||||
collapsed = ipaddress.collapse_addresses(
|
||||
[ip1, ip2, ip3, ip4, ip5, ip6])
|
||||
self.assertEqual(list(collapsed),
|
||||
|
@ -1277,7 +1277,7 @@ class IpaddrUnitTest(unittest.TestCase):
|
|||
ip4 = ipaddress.IPv4Address('1.1.1.3')
|
||||
#ip5 = ipaddress.IPv4Interface('1.1.1.4/30')
|
||||
#ip6 = ipaddress.IPv4Interface('1.1.1.4/30')
|
||||
# check that addreses are subsumed properly.
|
||||
# check that addresses are subsumed properly.
|
||||
collapsed = ipaddress.collapse_addresses([ip1, ip2, ip3, ip4])
|
||||
self.assertEqual(list(collapsed),
|
||||
[ipaddress.IPv4Network('1.1.1.0/30')])
|
||||
|
@ -1291,7 +1291,7 @@ class IpaddrUnitTest(unittest.TestCase):
|
|||
# stored in no particular order b/c we want CollapseAddr to call
|
||||
# [].sort
|
||||
ip6 = ipaddress.IPv4Network('1.1.0.0/22')
|
||||
# check that addreses are subsumed properly.
|
||||
# check that addresses are subsumed properly.
|
||||
collapsed = ipaddress.collapse_addresses([ip1, ip2, ip3, ip4, ip5,
|
||||
ip6])
|
||||
self.assertEqual(list(collapsed),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue