def test_encoded_string(self):
        try:
            value = unichr(39321)
        except NameError:
            value = chr(39321)
        xml = '<a>%s</a>' % value
        self.assertEqual(parse(xml),
                         parse(xml.encode('utf-8')))
dataset/ETHPy150Open martinblech/xmltodict/tests/test_xmltodict.py/XMLToDictTestCase.test_encoded_string/original