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

Method setUp

tests/test_apis.py:1015–1017  ·  view source on GitHub ↗

Setup markdown object.

(self)

Source from the content-addressed store, hash-verified

1013 md.inlinePatterns.register(TestAncestorExclusion.AncestorExample(pattern, 'strong'), 'ancestor-test', 0)
1014
1015 def setUp(self):
1016 """Setup markdown object."""
1017 self.md = markdown.Markdown(extensions=[TestAncestorExclusion.AncestorExtension()])
1018
1019 def test_ancestors(self):
1020 """ Test that an extension can exclude parent tags. """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected