diff options
author | Peter Moody <python@hda3.com> | 2013-10-24 16:47:10 (GMT) |
---|---|---|
committer | Peter Moody <python@hda3.com> | 2013-10-24 16:47:10 (GMT) |
commit | e5019d5183041f4f75cf4a30b2dc84eed347425e (patch) | |
tree | 49e012e5492c1c70690ab72a8d03a980047148b5 /Lib/test/test_ipaddress.py | |
parent | a46079e85394c4c6fa5a5a1a462eca8e38b85a42 (diff) | |
download | cpython-e5019d5183041f4f75cf4a30b2dc84eed347425e.zip cpython-e5019d5183041f4f75cf4a30b2dc84eed347425e.tar.gz cpython-e5019d5183041f4f75cf4a30b2dc84eed347425e.tar.bz2 |
#17400: correct handling of 100.64.0.0/10, fixing the docs and updating NEWS
Diffstat (limited to 'Lib/test/test_ipaddress.py')
-rw-r--r-- | Lib/test/test_ipaddress.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_ipaddress.py b/Lib/test/test_ipaddress.py index 25f190c..f3b1565 100644 --- a/Lib/test/test_ipaddress.py +++ b/Lib/test/test_ipaddress.py @@ -1319,8 +1319,10 @@ class IpaddrUnitTest(unittest.TestCase): self.assertEqual(True, ipaddress.ip_network( '127.42.0.0/16').is_loopback) self.assertEqual(False, ipaddress.ip_network('128.0.0.0').is_loopback) - self.assertEqual(True, ipaddress.ip_network('100.64.0.0/10').is_private) + self.assertEqual(False, + ipaddress.ip_network('100.64.0.0/10').is_private) self.assertEqual(False, ipaddress.ip_network('100.64.0.0/10').is_global) + self.assertEqual(True, ipaddress.ip_network('192.0.2.128/25').is_private) self.assertEqual(True, |