Skip to content

Commit 7302eaa

Browse files
committed
Disabled IPv6 in an IPv4 database test.
I don't know what the intended behavior of the C library is. The current and past behaviors are accidental.
1 parent 45a2c0d commit 7302eaa

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/maxminddb_test.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,6 @@ def test_decoder(self):
6363
record['uint128']
6464
)
6565

66-
def test_ipv6_address_in_ipv4_database(self):
67-
reader = Reader('tests/data/test-data/MaxMind-DB-test-ipv4-24.mmdb')
68-
with self.assertRaisesRegex(ValueError,
69-
'The value "2001::" is not a valid IP '
70-
'address.'):
71-
reader.get('2001::')
72-
7366
def test_broken_database(self):
7467
reader = Reader('tests/data/test-data/'
7568
'GeoIP2-City-Test-Broken-Double-Format.mmdb')

0 commit comments

Comments
 (0)