| 1522 | |
| 1523 | def test_handlers(self): |
| 1524 | class TestLexicalHandler(LexicalHandler): |
| 1525 | def __init__(self, test_harness, *args, **kwargs): |
| 1526 | super().__init__(*args, **kwargs) |
| 1527 | self.test_harness = test_harness |
| 1528 | |
| 1529 | def startCDATA(self): |
| 1530 | self.test_harness.in_cdata = True |
| 1531 | |
| 1532 | def endCDATA(self): |
| 1533 | self.test_harness.in_cdata = False |
| 1534 | |
| 1535 | class TestCharHandler(ContentHandler): |
| 1536 | def __init__(self, test_harness, *args, **kwargs): |
no outgoing calls
searching dependent graphs…