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

Method setUp

tests/test_apis.py:121–123  ·  view source on GitHub ↗

Create instance of BlockParser.

(self)

Source from the content-addressed store, hash-verified

119 """ Tests of the BlockParser class. """
120
121 def setUp(self):
122 """ Create instance of BlockParser. """
123 self.parser = markdown.Markdown().parser
124
125 def testParseChunk(self):
126 """ Test `BlockParser.parseChunk`. """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected