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

Method characters

Lib/test/test_sax.py:1540–1546  ·  view source on GitHub ↗
(self, content)

Source from the content-addressed store, hash-verified

1538 self.test_harness = test_harness
1539
1540 def characters(self, content):
1541 if content != '\n':
1542 h = self.test_harness
1543 t = h.specified_chars[h.char_index]
1544 h.assertEqual(t[0], content)
1545 h.assertEqual(t[1], h.in_cdata)
1546 h.char_index += 1
1547
1548 self.parser = create_parser()
1549 self.parser.setContentHandler(TestCharHandler(self))

Callers 3

parseMethod · 0.45
parseMethod · 0.45
char_name_dbFunction · 0.45

Calls 1

assertEqualMethod · 0.45

Tested by

no test coverage detected