diff options
| author | Raymond Hettinger <python@rcn.com> | 2015-11-02 05:04:46 (GMT) |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2015-11-02 05:04:46 (GMT) |
| commit | 0bdf9ea136c4acca2de0fe6ab799ab35d5b09fd2 (patch) | |
| tree | 4b47f7e8db6a919ad9e1dd8da0f21144754e7ffa /Lib/test/test_ipaddress.py | |
| parent | 67b97b8f8dc792aa7e1130a52a0ccc5069c400ed (diff) | |
| parent | e56a9191000d2ff15d7550b9c852fa6dee9b8f50 (diff) | |
| download | cpython-0bdf9ea136c4acca2de0fe6ab799ab35d5b09fd2.zip cpython-0bdf9ea136c4acca2de0fe6ab799ab35d5b09fd2.tar.gz cpython-0bdf9ea136c4acca2de0fe6ab799ab35d5b09fd2.tar.bz2 | |
merge
Diffstat (limited to 'Lib/test/test_ipaddress.py')
| -rw-r--r-- | Lib/test/test_ipaddress.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_ipaddress.py b/Lib/test/test_ipaddress.py index c217d36..39eb9a1 100644 --- a/Lib/test/test_ipaddress.py +++ b/Lib/test/test_ipaddress.py @@ -1302,7 +1302,7 @@ class IpaddrUnitTest(unittest.TestCase): # test a /24 is summarized properly self.assertEqual(list(summarize(ip1, ip2))[0], ipaddress.ip_network('1.1.1.0/24')) - # test an IPv4 range that isn't on a network byte boundary + # test an IPv4 range that isn't on a network byte boundary ip2 = ipaddress.ip_address('1.1.1.8') self.assertEqual(list(summarize(ip1, ip2)), [ipaddress.ip_network('1.1.1.0/29'), @@ -1315,7 +1315,7 @@ class IpaddrUnitTest(unittest.TestCase): ip1 = ipaddress.ip_address('1::') ip2 = ipaddress.ip_address('1:ffff:ffff:ffff:ffff:ffff:ffff:ffff') - # test a IPv6 is sumamrized properly + # test an IPv6 is summarized properly self.assertEqual(list(summarize(ip1, ip2))[0], ipaddress.ip_network('1::/16')) # test an IPv6 range that isn't on a network byte boundary |
