Failed Unit tests in 1.4.2

24 views
Skip to first unread message

Bastian Kuberek

unread,
Oct 18, 2012, 4:06:21 PM10/18/12
to django...@googlegroups.com
Hi I am getting the following errors:

======================================================================
FAIL: test_broken_unicode (regressiontests.model_regress.tests.ModelTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/bkuberek/development/vendor/python-django/tests/regressiontests/model_regress/tests.py", line 147, in test_broken_unicode
    self.assertEqual(repr(b), "<BrokenUnicodeMethod: [Bad Unicode data]>")
AssertionError: '<BrokenUnicodeMethod: N\xc3\xa1zov: Jerry>' != '<BrokenUnicodeMethod: [Bad Unicode data]>'

======================================================================
FAIL: test_iter_content (regressiontests.httpwrappers.tests.HttpResponseTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/bkuberek/development/vendor/python-django/tests/regressiontests/httpwrappers/tests.py", line 300, in test_iter_content
    getattr, r, 'content')
AssertionError: UnicodeEncodeError not raised

----------------------------------------------------------------------
Ran 4732 tests in 639.749s


Environment:

Debian 6 Squeeze
Python 2.6.6
Django 1.4.2 tar archive downloaded from https://www.djangoproject.com/download/

Bastian Kuberek

unread,
Oct 18, 2012, 5:05:26 PM10/18/12
to django...@googlegroups.com
I just cloned the master branch (1, 5, 0, 'alpha', 2) and ran the tests and they all passed. So I believe there is an issue with the packaged 1.4.2 source I downloaded.
Reply all
Reply to author
Forward
0 new messages