(self)
| 4407 | '''<site />'''.encode("utf-16")) |
| 4408 | |
| 4409 | def test_tostringlist_invariant(self): |
| 4410 | root = ET.fromstring('<tag>foo</tag>') |
| 4411 | self.assertEqual( |
| 4412 | ET.tostring(root, 'unicode'), |
| 4413 | ''.join(ET.tostringlist(root, 'unicode'))) |
| 4414 | self.assertEqual( |
| 4415 | ET.tostring(root, 'utf-16'), |
| 4416 | b''.join(ET.tostringlist(root, 'utf-16'))) |
| 4417 | |
| 4418 | def test_short_empty_elements(self): |
| 4419 | root = ET.fromstring('<tag>a<x />b<y></y>c</tag>') |
nothing calls this directly
no test coverage detected