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

Method testRegistrySetItem

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

Source from the content-addressed store, hash-verified

338 r['c']
339
340 def testRegistrySetItem(self):
341 r = markdown.util.Registry()
342 with self.assertRaises(TypeError):
343 r[0] = 'a'
344 with self.assertRaises(TypeError):
345 r['a'] = 'a'
346
347 def testRegistryDelItem(self):
348 r = markdown.util.Registry()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected