humanize tests depend on a test case mixin defined on tests/i18n/__init__.py
As reported in django-users (https://groups.google.com/d/topic/django-users/u1sycmDbO9c/discussion):
- Having 'django.contrib.humanize' listed in INSTALLED_APPS
- Using TEST_RUNNER='django.test.simple.DjangoTestSuiteRunner'
- Trying to run the tests using
manage.py test
Reported against 1.6b4 but an be reproduced with current 1.6.x and master.
Result of discussion on IRC resulted a suggested fix: Move the TransRealMixin
added in 9a1ea4e7e8214a001ca43ae6f0fcea96a5d51489 to a place under the django hierarchy, i.e. django.test.utils
that would allow it to be imported using an absolute import.
Change History
(6)
Description: |
modified (diff)
|
Has patch: |
set
|
Triage Stage: |
Unreviewed → Accepted
|
Owner: |
changed from nobody to anonymous
|
Status: |
new → assigned
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
This is the actual error output:
I've opened a PR with a propsed fix: https://github.com/django/django/pull/1796