From b52b9cf6f2e88468b13ca64b806abc9a3dd437bd Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 7 Nov 2015 10:10:52 +0100 Subject: [PATCH] Refs #25655 -- Made HAS_GEOS depend on a minimum version. This skips some tests on systems with GEOS < 3.3 (the minimum supported version). --- django/contrib/gis/geos/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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