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

Method testPreserveNone

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

Source from the content-addressed store, hash-verified

804 self.assertParses('none', False)
805
806 def testPreserveNone(self):
807 self.assertIsNone(markdown.util.parseBoolValue('None', preserve_none=True))
808 self.assertIsNone(markdown.util.parseBoolValue(None, preserve_none=True))
809
810 def testInvalidBooleansParsing(self):
811 self.assertRaises(ValueError, markdown.util.parseBoolValue, 'novalue')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected