Skip to content

Commit

Permalink
Ignore geoip fallback in tests/tests.py
Browse files Browse the repository at this point in the history
  • Loading branch information
blag committed Sep 20, 2023
1 parent 4598d88 commit 12cc8b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from django.contrib.gis.geoip2 import GeoIP2
geoip = GeoIP2()
geoip_msg = None
except Exception as error_geoip2:
except Exception as error_geoip2: # pragma: no cover
try:
from django.contrib.gis.geoip import GeoIP
geoip = GeoIP()
Expand Down

0 comments on commit 12cc8b6

Please sign in to comment.