Test that an `ElementTree` `Comment` serializes properly.
(self)
| 429 | self.assertIs(md.is_block_level(self.comment.tag), False) |
| 430 | |
| 431 | def testCommentSerialization(self): |
| 432 | """ Test that an `ElementTree` `Comment` serializes properly. """ |
| 433 | self.assertEqual( |
| 434 | markdown.serializers.to_html_string(self.comment), |
| 435 | '<!--foo-->' |
| 436 | ) |
| 437 | |
| 438 | def testCommentPrettify(self): |
| 439 | """ Test that an `ElementTree` `Comment` is prettified properly. """ |
nothing calls this directly
no outgoing calls
no test coverage detected