Opened 16 years ago

Last modified 13 years ago

#10843 closed

django.contrib.markup.tests.Templates test_textile fails with python textile 2.1.3 and Django 1.0.2 final — at Version 1

Reported by: ntoll Owned by: nobody
Component: Testing framework Version:
Severity: Normal Keywords: Textile
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description (last modified by Alex Gaynor)

Getting the following message:

======================================================================
FAIL: test_textile (django.contrib.markup.tests.Templates)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Python/2.5/site-packages/django/contrib/markup/tests.py", line 27, in test_textile
    <p>Paragraph 2 with &#8220;quotes&#8221; and <code>code</code></p>""")
AssertionError: u'<p>Paragraph 1</p>\n\n\t<p>Paragraph 2 with &#8220;quotes&#8221; and <code>code</code></p>' != '<p>Paragraph 1</p>\n\n<p>Paragraph 2 with &#8220;quotes&#8221; and <code>code</code></p>'

----------------------------------------------------------------------

Looks like there is an extra "\t" in there before the "Paragraph 2" <p> element.

Change History (2)

comment:1 by Alex Gaynor, 16 years ago

Description: modified (diff)

Please use preview.

by Arthur Koziel, 16 years ago

Attachment: ticket10843.patch added
Note: See TracTickets for help on using tickets.
Back to Top