-
Notifications
You must be signed in to change notification settings - Fork 882
Closed
Labels
Description
Note that 2 changes to the HTML Parser are included in Python 3.14 beta 4. (GH-135930 & GH-135664). Since beta 4 was released, an additional change has been made (GH-136908). I have not tested against the unreleased change.
........................................../home/runner/work/markdown/markdown/markdown/core.py:436: DeprecationWarning: codecs.open() is deprecated. Use open() instead.
output_file = codecs.open(output, "w",
......................................................................................s......................................................................................................s.s...s.ss..s....s.........s...........................................................................ss...........................................................................................................................................................FF..............................ss...........................................................................................................................................................................................................................................................FF......................................................................................................................................................................................................................................................................................
======================================================================
FAIL: test_raw_unclosed_tag_in_code_span (test_syntax.blocks.test_html_blocks.TestHTMLBlocks.test_raw_unclosed_tag_in_code_span)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/runner/work/markdown/markdown/tests/test_syntax/blocks/test_html_blocks.py", line 668, in test_raw_unclosed_tag_in_code_span
self.assertMarkdownRenders(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.dedent(
^^^^^^^^^^^^
...<15 lines>...
)
^
)
^
File "/home/runner/work/markdown/markdown/markdown/test_tools.py", line 77, in assertMarkdownRenders
self.assertMultiLineEqual(output, expected)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
AssertionError: '<p><code><div</code>.</p>\n<p><div>\nhello\n</div></p>' != '<p><code><div</code>.</p>\n<div>\nhello\n</div>'
<p><code><div</code>.</p>
- <p><div>
? ---
+ <div>
hello
- </div></p>
? ----
+ </div>
======================================================================
FAIL: test_raw_unclosed_tag_in_code_span_space (test_syntax.blocks.test_html_blocks.TestHTMLBlocks.test_raw_unclosed_tag_in_code_span_space)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/runner/work/markdown/markdown/tests/test_syntax/blocks/test_html_blocks.py", line 689, in test_raw_unclosed_tag_in_code_span_space
self.assertMarkdownRenders(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.dedent(
^^^^^^^^^^^^
...<15 lines>...
)
^
)
^
File "/home/runner/work/markdown/markdown/markdown/test_tools.py", line 77, in assertMarkdownRenders
self.assertMultiLineEqual(output, expected)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
AssertionError: '<p><code><div</code>.</p>\n<p><div>\nhello\n</div></p>' != '<p><code><div</code>.</p>\n<div>\nhello\n</div>'
<p><code><div</code>.</p>
- <p><div>
? ---
+ <div>
hello
- </div></p>
? ----
+ </div>
======================================================================
FAIL: test_raw_unclosed_tag_in_code_span (test_syntax.extensions.test_md_in_html.TestDefaultwMdInHTML.test_raw_unclosed_tag_in_code_span)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/runner/work/markdown/markdown/tests/test_syntax/blocks/test_html_blocks.py", line 668, in test_raw_unclosed_tag_in_code_span
self.assertMarkdownRenders(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.dedent(
^^^^^^^^^^^^
...<15 lines>...
)
^
)
^
File "/home/runner/work/markdown/markdown/markdown/test_tools.py", line 77, in assertMarkdownRenders
self.assertMultiLineEqual(output, expected)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
AssertionError: '<p><code><div</code>.</p>\n<p><div>\nhello\n</div></p>' != '<p><code><div</code>.</p>\n<div>\nhello\n</div>'
<p><code><div</code>.</p>
- <p><div>
? ---
+ <div>
hello
- </div></p>
? ----
+ </div>
======================================================================
FAIL: test_raw_unclosed_tag_in_code_span_space (test_syntax.extensions.test_md_in_html.TestDefaultwMdInHTML.test_raw_unclosed_tag_in_code_span_space)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/runner/work/markdown/markdown/tests/test_syntax/blocks/test_html_blocks.py", line 689, in test_raw_unclosed_tag_in_code_span_space
self.assertMarkdownRenders(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.dedent(
^^^^^^^^^^^^
...<15 lines>...
)
^
)
^
File "/home/runner/work/markdown/markdown/markdown/test_tools.py", line 77, in assertMarkdownRenders
self.assertMultiLineEqual(output, expected)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
AssertionError: '<p><code><div</code>.</p>\n<p><div>\nhello\n</div></p>' != '<p><code><div</code>.</p>\n<div>\nhello\n</div>'
<p><code><div</code>.</p>
- <p><div>
? ---
+ <div>
hello
- </div></p>
? ----
+ </div>
----------------------------------------------------------------------
Ran 1056 tests in 1.071s
FAILED (failures=4, skipped=13)
This failure first appeared in #1546.