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

Method setUp

tests/test_apis.py:991–993  ·  view source on GitHub ↗

Setup markdown object.

(self)

Source from the content-addressed store, hash-verified

989 md.inlinePatterns.register(TestAncestorExclusion.AncestorExample(pattern, 'strong'), 'ancestor-test', 0)
990
991 def setUp(self):
992 """Setup markdown object."""
993 self.md = markdown.Markdown(extensions=[TestAncestorExclusion.AncestorExtension()])
994
995 def test_ancestors(self):
996 """ Test that an extension can exclude parent tags. """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected