

def test_render_cdata_not_string(self):
    int_val = 1234567891011121314151617181920
    tree = Tree()
    tree.node('root').cdata(int_val)
    self.assertIn('<![cdata[{0}]]>'.format(str(int_val)), tree('xml'))

dataset/ETHPy150Open bigjason/datatree/datatree/tests/test_xmlrenderer.py test_XmlRenderer.test_render_cdata_not_string/original