﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
8215	Tests raise UnicodeDecodeError instead of showing the test that failed	 	nobody	"This problem bit me while trying to adjust the regressionstests for #6873. Instead of reporting that [http://code.djangoproject.com/browser/django/trunk/tests/regressiontests/forms/widgets.py#L641 tests/regressiontests/forms/widgets.py, Line 641] failed it just threw this error:

{{{
vm3:/home/dev/django-trunk/tests# ./runtests.py --settings settings forms
======================================================================
ERROR: Doctest: regressiontests.forms.tests.__test__.widgets_tests
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/usr/lib/python2.4/site-packages/django/test/_doctest.py"", line 2176, in runTest
    failures, tries = runner.run(
  File ""/usr/lib/python2.4/site-packages/django/test/_doctest.py"", line 1405, in run
    return self.__run(test, compileflags, out)
  File ""/usr/lib/python2.4/site-packages/django/test/_doctest.py"", line 1318, in __run
    self.report_failure(out, test, example, got)
  File ""/usr/lib/python2.4/site-packages/django/test/_doctest.py"", line 1185, in report_failure
    out(self._failure_header(test, example) +
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 240: ordinal not in range(128)
}}}

Maybe all these Unicode strings in the tests without a small u in front need changing?

I know the information in this ticket is not really exhaustive. Just let me know what would help :)"		closed	Testing framework	dev		wontfix			Unreviewed	0	0	0	0	0	0
