

def test_string_vs_file(self):
    xml = '<a>data</a>'
    self.assertEqual(parse(self), parse(StringIO(_encode(xml))))

dataset/ETHPy150Open martinblech/xmltodict/tests/test_xmltodict.py XMLToDictTestCase.test_string_vs_file/VarMisuse@20/31 `xml`->`self`