summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-08-01 15:06:31 -0400
committerTim Graham <timograham@gmail.com>2017-08-02 09:46:52 -0400
commita49764dd9daa11c4e24bad84423f71711b3e0de0 (patch)
tree49adea9e4aa30d469f9e85aca08d34533a221a45 /tests
parent2ec74bfcaccd533ed9684c88f734ba3765866a95 (diff)
[1.11.x] Fixed #28441 -- Fixed GEOS version parsing with a commit hash at the end.
A less invasive backport of 78c155cf2e5a27fd2db18c2d46953b1b0fdba829 from master
Diffstat (limited to 'tests')
-rw-r--r--tests/gis_tests/geos_tests/test_geos.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gis_tests/geos_tests/test_geos.py b/tests/gis_tests/geos_tests/test_geos.py
index 554f1e8117..60ceeffdcc 100644
--- a/tests/gis_tests/geos_tests/test_geos.py
+++ b/tests/gis_tests/geos_tests/test_geos.py
@@ -1278,7 +1278,8 @@ class GEOSTest(SimpleTestCase, TestDataMixin):
versions = [('3.0.0rc4-CAPI-1.3.3', '3.0.0', '1.3.3'),
('3.0.0-CAPI-1.4.1', '3.0.0', '1.4.1'),
('3.4.0dev-CAPI-1.8.0', '3.4.0', '1.8.0'),
- ('3.4.0dev-CAPI-1.8.0 r0', '3.4.0', '1.8.0')]
+ ('3.4.0dev-CAPI-1.8.0 r0', '3.4.0', '1.8.0'),
+ ('3.6.2-CAPI-1.10.2 4d2925d6', '3.6.2', '1.10.2')]
for v_init, v_geos, v_capi in versions:
m = version_regex.match(v_init)
self.assertTrue(m, msg="Unable to parse the version string '%s'" % v_init)