Fixed test errors from 053de6131a on py3.2.

This commit is contained in:
Florian Apolloner 2013-09-10 19:17:01 +02:00
parent 053de6131a
commit d5d0e03ec8
1 changed files with 1 additions and 1 deletions

View File

@ -1957,7 +1957,7 @@ class FormsTestCase(TestCase):
some_field = CharField()
def as_p(self):
return self._html_output(u'<p id="p_%(field_name)s"></p>', u'%s', '</p>', u' %s', True)
return self._html_output('<p id="p_%(field_name)s"></p>', '%s', '</p>', ' %s', True)
form = SomeForm()
self.assertHTMLEqual(form.as_p(), '<p id="p_some_field"></p>')