diff --git a/tests/modeltests/model_forms/tests.py b/tests/modeltests/model_forms/tests.py index 38fc9d058c..6ecd1278dd 100644 --- a/tests/modeltests/model_forms/tests.py +++ b/tests/modeltests/model_forms/tests.py @@ -1528,7 +1528,10 @@ class OldFormForXTests(TestCase): colour = Colour.objects.create(name='Blue') form = ColourfulItemForm() self.maxDiff = 1024 - self.assertHTMLEqual(form.as_p(), """

+ self.assertHTMLEqual( + form.as_p(), + """

Hold down "Control", or "Command" on a Mac, to select more than one.

""") + + Hold down "Control", or "Command" on a Mac, to select more than one.

""" + % {'blue_pk': colour.pk})