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

Method test_parseString_text

Lib/test/test_sax.py:232–237  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

230
231 @unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: 'xmlparser' object has no attribute 'SetParamEntityParsing'
232 def test_parseString_text(self):
233 encodings = ('us-ascii', 'iso-8859-1', 'utf-8',
234 'utf-16', 'utf-16le', 'utf-16be')
235 for encoding in encodings:
236 self.check_parseString(xml_str(self.data, encoding))
237 self.check_parseString(self.data)
238
239 @unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: 'xmlparser' object has no attribute 'SetParamEntityParsing'
240 def test_parseString_bytes(self):

Callers

nothing calls this directly

Calls 2

check_parseStringMethod · 0.95
xml_strFunction · 0.85

Tested by

no test coverage detected