[Bug 1433376] [NEW] fix a test failure seen with Python 2.7.9
Matthias Klose
doko at ubuntu.com
Wed Mar 18 01:01:10 UTC 2015
Public bug reported:
this fixes a test failure seen in a test rebuild of trusty with a newer
python version. it's not clear if we will update to this new version,
but the fix for this is obvious.
ERROR: utils_tests.test_jslex (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
ImportError: Failed to import test module: utils_tests.test_jslex
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 "/build/buildd/python-django-1.6.1/tests/utils_tests/test_jslex.py", line 26
SyntaxError: Non-ASCII character '\xc6' in file /build/buildd/python-django-1.6.1/tests/utils_tests/test_jslex.py on line 26, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
----------------------------------------------------------------------
Ran 5909 tests in 174.694s
FAILED (errors=1, skipped=505, expected failures=11)
** Affects: python-django (Ubuntu)
Importance: Undecided
Status: Fix Released
** Affects: python-django (Ubuntu Trusty)
Importance: Undecided
Status: New
** Tags: patch
** Patch added: "python-django.debdiff"
https://bugs.launchpad.net/bugs/1433376/+attachment/4348597/+files/python-django.debdiff
** Also affects: python-django (Ubuntu Trusty)
Importance: Undecided
Status: New
** Changed in: python-django (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-django in Ubuntu.
https://bugs.launchpad.net/bugs/1433376
Title:
fix a test failure seen with Python 2.7.9
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-django/+bug/1433376/+subscriptions
More information about the Ubuntu-server-bugs
mailing list