MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_comment

Method test_comment

Lib/test/test_pulldom.py:141–148  ·  view source on GitHub ↗

PullDOM does not receive "comment" events.

(self)

Source from the content-addressed store, hash-verified

139
140 @unittest.expectedFailure
141 def test_comment(self):
142 """PullDOM does not receive "comment" events."""
143 items = pulldom.parseString(SMALL_SAMPLE)
144 for evt, _ in items:
145 if evt == pulldom.COMMENT:
146 break
147 else:
148 self.fail("No comment was encountered")
149
150 @unittest.expectedFailure
151 def test_end_document(self):

Callers

nothing calls this directly

Calls 2

parseStringMethod · 0.45
failMethod · 0.45

Tested by

no test coverage detected