We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36387b1 commit 06d3111Copy full SHA for 06d3111
tests/database_test.py
@@ -57,7 +57,7 @@ def test_invalid_address(self):
57
reader = geoip2.database.Reader(
58
'tests/data/test-data/GeoIP2-City-Test.mmdb')
59
with self.assertRaisesRegex(ValueError,
60
- 'The value "invalid" is not a valid '
61
- 'IP address.'):
+ "'invalid' does not appear to be an "
+ "IPv4 or IPv6 address."):
62
reader.city('invalid')
63
reader.close()
0 commit comments