diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-08-05 12:53:49 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-08-05 12:53:49 (GMT) |
commit | 415d0f5cd3b2bb95c4a4da2f6a43a186335ae1a1 (patch) | |
tree | 8f9616dae5ee808ca0e09e2188ac57f695bd3466 /Lib/test | |
parent | 4adc9a8cc99c136fe1a03cdd69b5ad14ce5cbb5e (diff) | |
parent | 31096a94e71779af9c768ac714aaef8c4db53e10 (diff) | |
download | cpython-415d0f5cd3b2bb95c4a4da2f6a43a186335ae1a1.zip cpython-415d0f5cd3b2bb95c4a4da2f6a43a186335ae1a1.tar.gz cpython-415d0f5cd3b2bb95c4a4da2f6a43a186335ae1a1.tar.bz2 |
Merge
Diffstat (limited to 'Lib/test')
-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 061c866..09b4a5e 100644 --- a/Lib/test/test_ipaddress.py +++ b/Lib/test/test_ipaddress.py @@ -731,8 +731,8 @@ class IpaddrUnitTest(unittest.TestCase): '2001:658:22a:cafe:ffff:ffff:ffff:ffff') def testGetPrefixlen(self): - self.assertEqual(self.ipv4_interface.prefixlen, 24) - self.assertEqual(self.ipv6_interface.prefixlen, 64) + self.assertEqual(self.ipv4_interface.network.prefixlen, 24) + self.assertEqual(self.ipv6_interface.network.prefixlen, 64) def testGetSupernet(self): self.assertEqual(self.ipv4_network.supernet().prefixlen, 23) |