summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ipaddress.py
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2012-07-08 11:38:12 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2012-07-08 11:38:12 (GMT)
commit27396a1807fe5971e7e61a51872a030f6d05b9c9 (patch)
treee6459167cf2acdce25e0f15195676d68bb2f6c16 /Lib/test/test_ipaddress.py
parent6803855ecf8044e3e6065dd624891a0179071537 (diff)
downloadcpython-27396a1807fe5971e7e61a51872a030f6d05b9c9.zip
cpython-27396a1807fe5971e7e61a51872a030f6d05b9c9.tar.gz
cpython-27396a1807fe5971e7e61a51872a030f6d05b9c9.tar.bz2
Issue 14814: Remove dead function (noticed by Serhiy Storchaka)
Diffstat (limited to 'Lib/test/test_ipaddress.py')
-rw-r--r--Lib/test/test_ipaddress.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_ipaddress.py b/Lib/test/test_ipaddress.py
index 8dc4767..beb2685 100644
--- a/Lib/test/test_ipaddress.py
+++ b/Lib/test/test_ipaddress.py
@@ -551,7 +551,6 @@ class IpaddrUnitTest(unittest.TestCase):
ipaddress.IPv4Address('10.10.10.10'),
ipaddress.IPv4Address('10.10.10.12')])
self.assertEqual(first, last)
- self.assertEqual(0, ipaddress._get_prefix_length(2**32, 0, 32))
self.assertEqual(128, ipaddress._count_righthand_zero_bits(0, 128))
self.assertEqual("IPv4Network('1.2.3.0/24')", repr(self.ipv4_network))
self.assertEqual('0x1020318', hex(self.ipv4_network))