

def test_unicode(self):
    try:
        value = unichr(39321)
    except NameError:
        value = chr(39321)
    self.assertEqual({
        'a': value,
    }, parse(('<a>%s</a>' % value)))

dataset/ETHPy150Open martinblech/xmltodict/tests/test_xmltodict.py XMLToDictTestCase.test_unicode/original