summaryrefslogtreecommitdiff
path: root/django/contrib/markup
diff options
context:
space:
mode:
Diffstat (limited to 'django/contrib/markup')
-rw-r--r--django/contrib/markup/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/markup/tests.py b/django/contrib/markup/tests.py
index 9a96f8cda4..6a22e530ba 100644
--- a/django/contrib/markup/tests.py
+++ b/django/contrib/markup/tests.py
@@ -22,7 +22,7 @@ Paragraph 2 with "quotes" and @code@"""
t = Template("{{ textile_content|textile }}")
rendered = t.render(Context(locals())).strip()
if textile:
- self.assertEqual(rendered, """<p>Paragraph 1</p>
+ self.assertEqual(rendered.replace('\t', ''), """<p>Paragraph 1</p>
<p>Paragraph 2 with &#8220;quotes&#8221; and <code>code</code></p>""")
else: