Skip to content
This repository has been archived by the owner on Jun 17, 2018. It is now read-only.

Commit

Permalink
Fixed issue #220 — coerce Exception object using str for consistency …
Browse files Browse the repository at this point in the history
…on 2.5 and 2.6. Thanks phxx.de for the report.

git-svn-id: https://django-tagging.googlecode.com/svn/trunk@168 83e7428b-ec2a-0410-86f2-bf466d0e5e72
  • Loading branch information
brosner committed Nov 4, 2009
1 parent 225be04 commit 9b760f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tagging/tests/tests.py
Expand Up @@ -894,7 +894,7 @@ def test_tag_d_validation(self):
try:
t.clean('foo qwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbn bar')
except forms.ValidationError, ve:
self.assertEquals(unicode(ve), u"[u'Each tag may be no more than 50 characters long.']")
self.assertEquals(str(ve), "[u'Each tag may be no more than 50 characters long.']")
except Exception, e:
raise e
else:
Expand Down

0 comments on commit 9b760f8

Please sign in to comment.