Commit 4932a7b8 authored by Carl Meyer's avatar Carl Meyer
Browse files

Fixed GIS tests to again skip without error when GEOS is not installed.

parent 5bcd2920
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -6,10 +6,9 @@ from django.contrib.gis.geos import HAS_GEOS
from django.core import serializers
from django.test import TestCase, skipUnlessDBFeature

from .models import City, MultiFields, PennsylvaniaCity

if HAS_GEOS:
    from django.contrib.gis.geos import LinearRing, Point, Polygon
    from .models import City, MultiFields, PennsylvaniaCity


@skipUnlessDBFeature("gis_enabled")