diff --git a/django/contrib/gis/geoip/tests.py b/django/contrib/gis/geoip/tests.py
index f771608e1d..8d7bdff291 100644
--- a/django/contrib/gis/geoip/tests.py
+++ b/django/contrib/gis/geoip/tests.py
@@ -25,7 +25,7 @@ if HAS_GEOS:
 
 
 @skipUnless(HAS_GEOIP and getattr(settings, "GEOIP_PATH", None),
-    "GeoIP is required along with the GEOIP_DATA setting.")
+    "GeoIP is required along with the GEOIP_PATH setting.")
 class GeoIPTest(unittest.TestCase):
 
     def test01_init(self):