summaryrefslogtreecommitdiff
path: root/tests/model_forms
diff options
context:
space:
mode:
Diffstat (limited to 'tests/model_forms')
-rw-r--r--tests/model_forms/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/model_forms/tests.py b/tests/model_forms/tests.py
index 0307569c12..db36216d14 100644
--- a/tests/model_forms/tests.py
+++ b/tests/model_forms/tests.py
@@ -2485,8 +2485,8 @@ class OtherModelFormTests(TestCase):
f = ModelFormWithMedia()
self.assertHTMLEqual(
str(f.media),
- '''<link href="/some/form/css" type="text/css" media="all" rel="stylesheet">
-<script src="/some/form/javascript"></script>'''
+ '<link href="/some/form/css" media="all" rel="stylesheet">'
+ '<script src="/some/form/javascript"></script>'
)
def test_choices_type(self):