Searched refs:elem2 (Results 1 – 1 of 1) sorted by relevance
31 def etree_equal(elem1, elem2): argument41 if elem1.tag != elem2.tag:43 if elem1.text != elem2.text:45 if elem1.tail != elem2.tail:47 if elem1.attrib != elem2.attrib:49 if len(elem1) != len(elem2):51 return all(etree_equal(c1, c2) for c1, c2 in zip(elem1, elem2))