Home
last modified time | relevance | path

Searched refs:xmlSnippet (Results 1 – 1 of 1) sorted by relevance

/external/fonttools/Lib/fontTools/misc/
DtestTools.py14 def parseXML(xmlSnippet): argument
27 if isinstance(xmlSnippet, bytes):
28 xml += xmlSnippet
29 elif isinstance(xmlSnippet, str):
30 xml += tobytes(xmlSnippet, 'utf-8')
31 elif isinstance(xmlSnippet, Iterable):
32 xml += b"".join(tobytes(s, 'utf-8') for s in xmlSnippet)
35 % type(xmlSnippet).__name__)