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

Method testRegisterWithoutPriority

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

Source from the content-addressed store, hash-verified

258 self.assertIsInstance(r, markdown.util.Registry)
259
260 def testRegisterWithoutPriority(self):
261 r = markdown.util.Registry()
262 with self.assertRaises(TypeError):
263 r.register(Item('a'))
264
265 def testSortRegistry(self):
266 r = markdown.util.Registry()

Callers

nothing calls this directly

Calls 2

registerMethod · 0.95
ItemClass · 0.85

Tested by

no test coverage detected