The testsuite fails for me if i use python2.6. It works fine with python in
version 2.5
Here is the stacktrace:
======================================================================
FAIL: test_tag_d_validation (tagging.tests.tests.TestTagFieldInForms)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/phxx/projects/django-tagging/namespaced/tagging/tests/tests.py",
line 897, in test_tag_d_validation
self.assertEquals(unicode(ve), u"[u'Each tag may be no more than 50
characters long.']")
AssertionError: u'' != u"[u'Each tag may be no more than 50 characters long.']"
----------------------------------------------------------------------
This failure is fixed by changing the line 897 in tagging/tests/tests.py to:
self.assertEquals(unicode(list(ve.messages)), u"[u'Each tag may
be no more than 50 characters long.']")
The change also works well with python2.5 for me.
Original issue reported on code.google.com by phxx...@gmail.com on 8 Oct 2009 at 3:31
Original issue reported on code.google.com by
phxx...@gmail.com
on 8 Oct 2009 at 3:31