diff options
| author | Claude Paroz <claude@2xlibre.net> | 2015-11-07 10:10:52 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-12-03 18:22:58 -0500 |
| commit | b52b9cf6f2e88468b13ca64b806abc9a3dd437bd (patch) | |
| tree | 7a4e161c82f8706e03e6c81d685bab3bb0a75df5 | |
| parent | 9f4e031bd3cb13d5879fe9ad3d889ce861b0babe (diff) | |
Refs #25655 -- Made HAS_GEOS depend on a minimum version.
This skips some tests on systems with GEOS < 3.3 (the minimum
supported version).
| -rw-r--r-- | django/contrib/gis/geos/__init__.py | 3 |
1 files changed, 1 insertions, 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 |
