diff options
| author | Tim Graham <timograham@gmail.com> | 2016-05-28 20:11:42 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-06-01 07:45:22 -0400 |
| commit | bc842786158bc974a7587002226feabaf5cd2f4a (patch) | |
| tree | 5815ad8694d9cd20a7b8e06ca662e03238519dee /tests | |
| parent | d02e33141dcb39de76bf581d9335351bdf80c9a1 (diff) | |
Fixed #26675 -- Dropped support for PostgreSQL 9.2/PostGIS 2.0.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/gis_tests/geoapp/tests.py | 10 |
1 files changed, 0 insertions, 10 deletions
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 |
