Test that an `ElementTree` `Comment` serializes properly.
(self)
| 453 | self.assertIs(md.is_block_level(self.comment.tag), False) |
| 454 | |
| 455 | def testCommentSerialization(self): |
| 456 | """ Test that an `ElementTree` `Comment` serializes properly. """ |
| 457 | self.assertEqual( |
| 458 | markdown.serializers.to_html_string(self.comment), |
| 459 | '<!--foo-->' |
| 460 | ) |
| 461 | |
| 462 | def testCommentPrettify(self): |
| 463 | """ Test that an `ElementTree` `Comment` is prettified properly. """ |
nothing calls this directly
no outgoing calls
no test coverage detected