{{{
======================================================================
ERROR: django.contrib.gis.tests.test_spatialrefsys
(unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
ImportError: Failed to import test module:
django.contrib.gis.tests.test_spatialrefsys
Traceback (most recent call last):
File "C:\Python27\Lib\unittest\loader.py", line 252, in _find_tests
module = self._get_module_from_name(name)
File "C:\Python27\Lib\unittest\loader.py", line 230, in
_get_module_from_name
__import__(name)
File
"D:\project\django\django\django\contrib\gis\tests\test_spatialrefsys.py",
line 6, in <module>
from django.contrib.gis.utils import add_srs_entry
ImportError: cannot import name add_srs_entry
}}}
Bisect
{{{
fabc678f930431fd6e502fe7930ee772eff96898 is the first bad commit
commit fabc678f930431fd6e502fe7930ee772eff96898
Author: Claude Paroz <cla...@2xlibre.net>
Date: Thu Jan 30 09:37:15 2014 +0100
Added new srs test and various cleaning
:040000 040000 59be96e70c8b3d819388f9ca6f4ead7e1de09ace
1213b8a9e92aba2134e64248c3038503f98e1d35 M django
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/21930>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => assigned
* needs_better_patch: => 0
* needs_tests: => 0
* owner: nobody => claudep
* needs_docs: => 0
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/21930#comment:1>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"9ab798a8d8911a431bcb28b0bd82e391e879077a"]:
{{{
#!CommitTicketReference repository=""
revision="9ab798a8d8911a431bcb28b0bd82e391e879077a"
Fixed #21930 -- Only import add_srs_entry if GDAL is installed
Fixed regression introduced by fabc678f93. Thanks Michael Manfre
for the report.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/21930#comment:2>