Refs #25655 -- Made HAS_GEOS depend on a minimum version.
This skips some tests on systems with GEOS < 3.3 (the minimum supported version).
This commit is contained in:
parent
9f4e031bd3
commit
b52b9cf6f2
|
@ -15,7 +15,6 @@ from .point import Point # NOQA
|
||||||
from .polygon import Polygon # NOQA
|
from .polygon import Polygon # NOQA
|
||||||
|
|
||||||
try:
|
try:
|
||||||
geos_version_info()
|
HAS_GEOS = geos_version_info()['version'] >= '3.3.0'
|
||||||
HAS_GEOS = True
|
|
||||||
except ImportError:
|
except ImportError:
|
||||||
HAS_GEOS = False
|
HAS_GEOS = False
|
||||||
|
|
Loading…
Reference in New Issue