  from django.utils import six
  from django.utils.html import escape
  
  
  @skipUnless(HAS_GDAL and HAS_SPATIALREFSYS, "GeometryFieldTest needs gdal support and a spatial database")
  class GeometryFieldTest(SimpleTestCase):
  
      def test_init(self):
 
</s> remove from django.contrib.gis.geos import GEOSGeometry
 </s> add  </s> remove     @skipUnless(HAS_GDAL and HAS_SPATIALREFSYS,
                "test_osm_widget needs gdal support and a spatial database")
 </s> add  </s> remove from django.contrib.gis import forms
 </s> add 
if HAS_SPATIALREFSYS:
    from django.contrib.gis import forms
    from django.contrib.gis.geos import GEOSGeometry

  from django.utils import six
  from django.utils.html import escape
  
if HAS_SPATIALREFSYS:
    from django.contrib.gis import forms
    from django.contrib.gis.geos import GEOSGeometry

  
  @skipUnless(HAS_GDAL and HAS_SPATIALREFSYS, "GeometryFieldTest needs gdal support and a spatial database")
  class GeometryFieldTest(SimpleTestCase):
  
      def test_init(self):
keep keep add keep keep keep keep keep
 Revert "Allowed running GIS form tests that don't require spatial database"

This reverts commit 07fe0bf3f4a49a734f83f5ea30130449dacf9660.
This was not working properly on system without geos library
installed. 
django/contrib/gis/tests/test_geoforms.py