MCPcopy Create free account
hub / github.com/scanny/python-pptx / it_prefers_to_parse_bytes

Method it_prefers_to_parse_bytes

tests/oxml/test___init__.py:29–30  ·  view source on GitHub ↗
(self, xml_bytes)

Source from the content-addressed store, hash-verified

27 assert element is fromstring.return_value
28
29 def it_prefers_to_parse_bytes(self, xml_bytes):
30 parse_xml(xml_bytes)
31
32 def but_accepts_unicode_providing_there_is_no_encoding_declaration(self):
33 non_enc_decl = '<?xml version="1.0" standalone="yes"?>'

Callers

nothing calls this directly

Calls 1

parse_xmlFunction · 0.90

Tested by

no test coverage detected