PullDOM does not receive "comment" events.
(self)
| 136 | |
| 137 | @unittest.expectedFailure |
| 138 | def test_comment(self): |
| 139 | """PullDOM does not receive "comment" events.""" |
| 140 | items = pulldom.parseString(SMALL_SAMPLE) |
| 141 | for evt, _ in items: |
| 142 | if evt == pulldom.COMMENT: |
| 143 | break |
| 144 | else: |
| 145 | self.fail("No comment was encountered") |
| 146 | |
| 147 | @unittest.expectedFailure |
| 148 | def test_end_document(self): |
nothing calls this directly
no test coverage detected