

def test_data_node_with_children_and_text(self):
    tree = Tree()
    with tree.node('a', 'A', href='http://bigjason.com') as a:
        a.node('b', 'Link')
    self.assertEqual(self(), '<a href="http://bigjason.com">A<b>Link</b></a>')

dataset/ETHPy150Open bigjason/datatree/datatree/tests/test_xmlrenderer.py test_XmlRenderer.test_data_node_with_children_and_text/VarMisuse@48/73 `tree`->`self`