test_markdown fails rendering with pygments > 2.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
djangorestframework (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
pygments (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Upstream is aware of the problem (tho, the proposed fix does not resolve the issue quite yet):
https:/
=======
__________________ TestViewNamesAn
self = <tests.
@pytest.
def test_markdown(
"""
Ensure markdown to HTML works as expected.
"""
# Markdown 3.3 is only supported on Python 3.6 and higher
if sys.version_info >= (3, 6):
> assert apply_markdown(
E AssertionError: assert '<h2 id="an-e...<p><br /></p>' == '<h2 id="an-e...<p><br /></p>'
E Skipping 445 identical leading characters in diff, use -v to show
E - an class="
E + an class="
E
E ...Full output truncated (2 lines hidden), use '-vv' to show
tests/test_
=======
tests/test_
/usr/
new_
tests/test_
/usr/
new_
-- Docs: https:/
=======
FAILED tests/test_
=========== 1 failed, 1275 passed, 127 skipped, 2 warnings in 15.83s ===========
Changed in pygments (Ubuntu): | |
status: | New → Invalid |
This bug was fixed in the package djangorestframework - 3.12.4-2ubuntu1
---------------
djangorestframework (3.12.4-2ubuntu1) jammy; urgency=medium
* d/tests/control
- skip test_markdown, which is currently failing; see issue #8160 upstream
for followups (LP: #1955134)
-- Lukas Märdian <email address hidden> Wed, 05 Jan 2022 17:50:04 +0100