MCPcopy Create free account
hub / github.com/Python-Markdown/markdown / testPreCodeWithText

Method testPreCodeWithText

tests/test_apis.py:488–491  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

486 self.assertEqual(expected, self.prettify(xml))
487
488 def testPreCodeWithText(self):
489 xml = "<pre><code> hello</code></pre>"
490 expected = "<pre><code> hello\n</code></pre>\n"
491 self.assertEqual(expected, self.prettify(xml))
492
493 def testPreCodeWithTrailingSpace(self):
494 xml = "<pre><code> hello </code></pre>"

Callers

nothing calls this directly

Calls 1

prettifyMethod · 0.95

Tested by

no test coverage detected