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

Method setUp

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

Source from the content-addressed store, hash-verified

462class testElementPreCodeTests(unittest.TestCase):
463 """ Element `PreCode` Tests """
464 def setUp(self):
465 md = markdown.Markdown()
466 self.pretty = markdown.treeprocessors.PrettifyTreeprocessor(md)
467
468 def prettify(self, xml):
469 root = etree.fromstring(xml)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected