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

Method testPreCodeWithText

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

Source from the content-addressed store, hash-verified

510 self.assertEqual(expected, self.prettify(xml))
511
512 def testPreCodeWithText(self):
513 xml = "<pre><code> hello</code></pre>"
514 expected = "<pre><code> hello\n</code></pre>\n"
515 self.assertEqual(expected, self.prettify(xml))
516
517 def testPreCodeWithTrailingSpace(self):
518 xml = "<pre><code> hello </code></pre>"

Callers

nothing calls this directly

Calls 1

prettifyMethod · 0.95

Tested by

no test coverage detected