MCPcopy
hub / github.com/Python-Markdown/markdown / testRegisterWithoutPriority

Method testRegisterWithoutPriority

tests/test_apis.py:236–239  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

234 self.assertIsInstance(r, markdown.util.Registry)
235
236 def testRegisterWithoutPriority(self):
237 r = markdown.util.Registry()
238 with self.assertRaises(TypeError):
239 r.register(Item('a'))
240
241 def testSortRegistry(self):
242 r = markdown.util.Registry()

Callers

nothing calls this directly

Calls 2

registerMethod · 0.95
ItemClass · 0.85

Tested by

no test coverage detected