diff --git a/django/contrib/gis/geos/__init__.py b/django/contrib/gis/geos/__init__.py index 4ebf9b2f12..561657a655 100644 --- a/django/contrib/gis/geos/__init__.py +++ b/django/contrib/gis/geos/__init__.py @@ -15,7 +15,6 @@ from .point import Point # NOQA from .polygon import Polygon # NOQA try: - geos_version_info() - HAS_GEOS = True + HAS_GEOS = geos_version_info()['version'] >= '3.3.0' except ImportError: HAS_GEOS = False