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

Method resolveEntity

Lib/test/test_sax.py:1021–1024  ·  view source on GitHub ↗
(self, publicId, systemId)

Source from the content-addressed store, hash-verified

1019 class TestEntityResolver:
1020
1021 def resolveEntity(self, publicId, systemId):
1022 inpsrc = InputSource()
1023 inpsrc.setByteStream(BytesIO(b"<entity/>"))
1024 return inpsrc
1025
1026 def test_expat_entityresolver_enabled(self):
1027 parser = create_parser()

Callers

nothing calls this directly

Calls 3

setByteStreamMethod · 0.95
InputSourceClass · 0.90
BytesIOClass · 0.90

Tested by

no test coverage detected