Kaydet (Commit) 4932a7b8 authored tarafından Carl Meyer's avatar Carl Meyer

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

üst 5bcd2920
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment