MCPcopy Index your code
hub / github.com/python/cpython / TestLexicalHandler

Class TestLexicalHandler

Lib/test/test_sax.py:1524–1533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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):

Callers 2

test_handlersMethod · 0.70
test_handlersMethod · 0.70

Calls

no outgoing calls

Tested by 2

test_handlersMethod · 0.56
test_handlersMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…