(self)
| 4372 | '''<site>\xf8</site>'''.encode("utf-16")) |
| 4373 | |
| 4374 | def test_read_from_stringio(self): |
| 4375 | tree = ET.ElementTree() |
| 4376 | stream = io.StringIO('''<?xml version="1.0"?><site></site>''') |
| 4377 | tree.parse(stream) |
| 4378 | self.assertEqual(tree.getroot().tag, 'site') |
| 4379 | |
| 4380 | def test_write_to_stringio(self): |
| 4381 | tree = ET.ElementTree(ET.XML('''<site>\xf8</site>''')) |
nothing calls this directly
no test coverage detected