(self)
| 223 | self.assertEqual(result.getvalue(), xml_str(self.data, 'utf-8')) |
| 224 | |
| 225 | def test_parseString_text(self): |
| 226 | encodings = ('us-ascii', 'iso-8859-1', 'utf-8', |
| 227 | 'utf-16', 'utf-16le', 'utf-16be') |
| 228 | for encoding in encodings: |
| 229 | self.check_parseString(xml_str(self.data, encoding)) |
| 230 | self.check_parseString(self.data) |
| 231 | |
| 232 | def test_parseString_bytes(self): |
| 233 | # UTF-8 is default encoding, US-ASCII is compatible with UTF-8, |
nothing calls this directly
no test coverage detected