Home
last modified time | relevance | path

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

/external/fonttools/Lib/fontTools/misc/
DtestTools.py18 def parseXML(xmlSnippet): argument
31 if isinstance(xmlSnippet, bytes):
32 xml += xmlSnippet
33 elif isinstance(xmlSnippet, unicode):
34 xml += tobytes(xmlSnippet, 'utf-8')
35 elif isinstance(xmlSnippet, Iterable):
36 xml += b"".join(tobytes(s, 'utf-8') for s in xmlSnippet)
39 % type(xmlSnippet).__name__)