1
0
mirror of https://github.com/django/django.git synced 2024-12-25 10:35:48 +00:00

Tweaked a GIS expected test failure.

The test was only checking for geos version 3.0.0, but it failed for all
3.0.x versions. This change makes the version check skip the test for
anything 3.0-ish.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2009-04-04 03:20:39 +00:00
parent ffffdedfd1
commit 19d1450929

View File

@ -91,7 +91,7 @@ class GEOSIOTest(unittest.TestCase):
# These tests will fail on 3.0.0 because of a bug that was fixed in 3.1:
# http://trac.osgeo.org/geos/ticket/216
if not geos_version_info()['version'] == '3.0.0':
if not geos_version_info()['version'].startswith('3.0.'):
# Now setting the output dimensions to be 3
wkb_w.outdim = 3