humanize tests depend on a test case mixin defined on tests/i18n/__init__.py
|Reported by:||Ramiro Morales||Owned by:||anonymous|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Description (last modified by )
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
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.