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

Method testRegistrySetItem

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

Source from the content-addressed store, hash-verified

314 r['c']
315
316 def testRegistrySetItem(self):
317 r = markdown.util.Registry()
318 with self.assertRaises(TypeError):
319 r[0] = 'a'
320 with self.assertRaises(TypeError):
321 r['a'] = 'a'
322
323 def testRegistryDelItem(self):
324 r = markdown.util.Registry()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected