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

Method setUp

tests/test_apis.py:956–958  ·  view source on GitHub ↗

Setup markdown object.

(self)

Source from the content-addressed store, hash-verified

954 md.inlinePatterns.register(TestAncestorExclusion.AncestorExample(pattern, 'strong'), 'ancestor-test', 0)
955
956 def setUp(self):
957 """Setup markdown object."""
958 self.md = markdown.Markdown(extensions=[TestAncestorExclusion.AncestorExtension()])
959
960 def test_ancestors(self):
961 """ Test that an extension can exclude parent tags. """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected