Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail for Django 1.9 #89

Closed
brianmay opened this issue Nov 28, 2015 · 5 comments
Closed

Tests fail for Django 1.9 #89

brianmay opened this issue Nov 28, 2015 · 5 comments
Milestone

Comments

@brianmay
Copy link

======================================================================
ERROR: django_restframework_gis_tests.test_filters (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
ImportError: Failed to import test module: django_restframework_gis_tests.test_filters
Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name
    __import__(name)
  File "tests/django_restframework_gis_tests/test_filters.py", line 6, in <module>
    from django.utils.unittest import skipIf
ImportError: No module named unittest


----------------------------------------------------------------------
@nemesifier nemesifier added this to the 0.10 milestone Nov 29, 2015
@nemesifier
Copy link
Member

Thx for the report. Are you going to try to send any contribution?

@auvipy
Copy link
Collaborator

auvipy commented Dec 5, 2015

I started working with 1.9 support will send PR

@nemesifier
Copy link
Member

Everybody interested in django 1.9 support, follow #90.

@fladi
Copy link
Contributor

fladi commented Dec 14, 2015

FTR, this Exception was introduced by a patch in Debian so this particular issue was never present in your sources. The patch disables certain tests for spatialite DB backends. I'll make a PR to see it it can get merged.

@brianmay
Copy link
Author

Oops sorry about; that looks like I was a bit two quick to file this particular error upstream.

Regardless, it looks like this ticket prompted Django 1.9 issues to be fixed in #90, and that is probably a good thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants