Lines Matching refs:ElementTree
115 from xml.etree import ElementTree
129 tree = ET.ElementTree(elem)
223 tree = ET.ElementTree(element)
226 tree = ET.ElementTree(element)
349 tree = ET.ElementTree(file=stringfile)
353 tree = ET.ElementTree(file=SIMPLE_XMLFILE)
364 for i in range(10): ET.ElementTree(elem).find('./'+str(i))
366 for i in range(10): ET.ElementTree(elem).find('./'+str(i))
368 for i in range(20): ET.ElementTree(elem).find('./'+str(i))
370 for i in range(600): ET.ElementTree(elem).find('./'+str(i))
1468 tree = ET.ElementTree(elem)
1689 t = ET.ElementTree(e)
2127 self.assertIsInstance(ET.ElementTree, type)
2333 self.assertEqual(ET.ElementTree(e).find('tag').tag, 'tag')
2334 self.assertEqual(ET.ElementTree(e).findtext('tag'), 'text')
2335 self.assertEqual(summarize_list(ET.ElementTree(e).findall('tag')),
2342 it = ET.ElementTree(e).findall('//tag')
2370 tree = ET.ElementTree(None)
2952 tree = ET.ElementTree(ET.XML('''<site />'''))
2959 tree = ET.ElementTree(ET.XML('''<site />'''))
2968 tree = ET.ElementTree(ET.XML('''<site />'''))
2977 tree = ET.ElementTree(ET.XML('''<site />'''))
2996 tree = ET.ElementTree()
3002 tree = ET.ElementTree(ET.XML('''<site />'''))
3008 tree = ET.ElementTree()
3014 tree = ET.ElementTree(ET.XML('''<site />'''))
3026 tree = ET.ElementTree()
3031 tree = ET.ElementTree(ET.XML('''<site />'''))
3042 tree = ET.ElementTree()
3045 tree = ET.ElementTree()
3048 tree = ET.ElementTree(ET.XML('''<site />'''))
3056 tree = ET.ElementTree(ET.XML('''<site />'''))