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

Method testPreserveNone

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

Source from the content-addressed store, hash-verified

745 self.assertParses('none', False)
746
747 def testPreserveNone(self):
748 self.assertIsNone(markdown.util.parseBoolValue('None', preserve_none=True))
749 self.assertIsNone(markdown.util.parseBoolValue(None, preserve_none=True))
750
751 def testInvalidBooleansParsing(self):
752 self.assertRaises(ValueError, markdown.util.parseBoolValue, 'novalue')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected