summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2010-06-19 21:07:33 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2010-06-19 21:07:33 +0000
commit90ce8b0c99516799ce813349e1f148d040cba948 (patch)
treebcdb6f6e9ab6258c66c349383ee43d09abfbbe8f
parent308ca6d8d5547919bfbb0ead25656710cd61fbb9 (diff)
Fixed #10843: the textile tests now pass against the latest textile library.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-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: