(self)
| 4335 | '''<site>\xf8</site>'''.encode("utf-16")) |
| 4336 | |
| 4337 | def test_read_from_stringio(self): |
| 4338 | tree = ET.ElementTree() |
| 4339 | stream = io.StringIO('''<?xml version="1.0"?><site></site>''') |
| 4340 | tree.parse(stream) |
| 4341 | self.assertEqual(tree.getroot().tag, 'site') |
| 4342 | |
| 4343 | def test_write_to_stringio(self): |
| 4344 | tree = ET.ElementTree(ET.XML('''<site>\xf8</site>''')) |
nothing calls this directly
no test coverage detected