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

Method testCommentIsComment

tests/test_apis.py:422–424  ·  view source on GitHub ↗

Test that an `ElementTree` `Comment` passes the `is Comment` test.

(self)

Source from the content-addressed store, hash-verified

420 self.comment = etree.Comment('foo')
421
422 def testCommentIsComment(self):
423 """ Test that an `ElementTree` `Comment` passes the `is Comment` test. """
424 self.assertIs(self.comment.tag, etree.Comment)
425
426 def testCommentIsBlockLevel(self):
427 """ Test that an `ElementTree` `Comment` is recognized as `BlockLevel`. """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected