From bc842786158bc974a7587002226feabaf5cd2f4a Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 28 May 2016 20:11:42 -0400 Subject: Fixed #26675 -- Dropped support for PostgreSQL 9.2/PostGIS 2.0. --- tests/gis_tests/geoapp/tests.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'tests') diff --git a/tests/gis_tests/geoapp/tests.py b/tests/gis_tests/geoapp/tests.py index 2b215f80a9..3b2f65e9b3 100644 --- a/tests/gis_tests/geoapp/tests.py +++ b/tests/gis_tests/geoapp/tests.py @@ -22,11 +22,6 @@ from .models import ( ) -def postgis_bug_version(): - spatial_version = getattr(connection.ops, "spatial_version", (0, 0, 0)) - return spatial_version and (2, 0, 0) <= spatial_version <= (2, 0, 1) - - @skipUnlessDBFeature("gis_enabled") class GeoModelTest(TestCase): fixtures = ['initial'] @@ -314,11 +309,6 @@ class GeoLookupTest(TestCase): # Right: A >> B => true if xmin(A) > xmax(B) # See: BOX2D_left() and BOX2D_right() in lwgeom_box2dfloat4.c in PostGIS source. - # The left/right lookup tests are known failures on PostGIS 2.0/2.0.1 - # http://trac.osgeo.org/postgis/ticket/2035 - if postgis_bug_version(): - self.skipTest("PostGIS 2.0/2.0.1 left and right lookups are known to be buggy.") - # Getting the borders for Colorado & Kansas co_border = State.objects.get(name='Colorado').poly ks_border = State.objects.get(name='Kansas').poly -- cgit v1.3