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

Method setUp

tests/test_apis.py:145–147  ·  view source on GitHub ↗

Create instance of BlockParser.

(self)

Source from the content-addressed store, hash-verified

143 """ Tests of the BlockParser class. """
144
145 def setUp(self):
146 """ Create instance of BlockParser. """
147 self.parser = markdown.Markdown().parser
148
149 def testParseChunk(self):
150 """ Test `BlockParser.parseChunk`. """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected