  
  from django.forms import ValidationError
  from django.contrib.gis import forms
  from django.contrib.gis.gdal import HAS_GDAL
  from django.contrib.gis.geos import GEOSGeometry
  from django.contrib.gis.tests.utils import HAS_SPATIALREFSYS
  from django.test import SimpleTestCase
  from django.utils import six
  from django.utils.html import escape
  
 
</s> remove from django.contrib.gis import forms
 </s> add  </s> remove     @skipUnless(HAS_GDAL and HAS_SPATIALREFSYS,
                "test_osm_widget needs gdal support and a spatial database")
 </s> add 
  
  from django.forms import ValidationError
  from django.contrib.gis import forms
  from django.contrib.gis.gdal import HAS_GDAL

  from django.contrib.gis.tests.utils import HAS_SPATIALREFSYS
  from django.test import SimpleTestCase
  from django.utils import six
  from django.utils.html import escape
  
keep keep keep keep replace 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