We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 225be04 commit 9b760f8Copy full SHA for 9b760f8
tagging/tests/tests.py
@@ -894,7 +894,7 @@ def test_tag_d_validation(self):
894
try:
895
t.clean('foo qwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbn bar')
896
except forms.ValidationError, ve:
897
- 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.']")
898
except Exception, e:
899
raise e
900
else:
0 commit comments