

def test_parse_complex_doc_pretty(self):
    tree = self._get_complex_structure()
    etree = e.fromstring(tree(pretty=True))
    tree.assertEqual(etree.find('.//genre').text, 'Fantasy/Comedy')
    self.assertEqual(len(etree.findall('.//novel')), 2)

dataset/ETHPy150Open bigjason/datatree/datatree/tests/test_xmlrenderer.py test_XmlRenderer.test_parse_complex_doc_pretty/VarMisuse@32/40 `self`->`tree`