diff --git a/tests/forms_tests/tests/test_forms.py b/tests/forms_tests/tests/test_forms.py index c9dbece80f..3204ec9437 100644 --- a/tests/forms_tests/tests/test_forms.py +++ b/tests/forms_tests/tests/test_forms.py @@ -1957,7 +1957,7 @@ class FormsTestCase(TestCase): some_field = CharField() def as_p(self): - return self._html_output(u'
', u'%s', '', u' %s', True) + return self._html_output('', '%s', '', ' %s', True) form = SomeForm() self.assertHTMLEqual(form.as_p(), '')