From 19d14509299c641ee44ab0755a6e0f3026e48341 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sat, 4 Apr 2009 03:20:39 +0000 Subject: [PATCH] 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 --- django/contrib/gis/geos/tests/test_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/gis/geos/tests/test_io.py b/django/contrib/gis/geos/tests/test_io.py index 80d54fb97f702..cc0f1ed1c0eb9 100644 --- a/django/contrib/gis/geos/tests/test_io.py +++ b/django/contrib/gis/geos/tests/test_io.py @@ -91,7 +91,7 @@ def test04_wkbwriter(self): # 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