(self)
| 2261 | b'<tag \xc3\xa4ttr="v\xc3\xa4lue" />') |
| 2262 | |
| 2263 | def test_bug_xmltoolkit54(self): |
| 2264 | # problems handling internally defined entities |
| 2265 | |
| 2266 | e = ET.XML("<!DOCTYPE doc [<!ENTITY ldots '舰'>]>" |
| 2267 | '<doc>&ldots;</doc>') |
| 2268 | self.assertEqual(serialize(e, encoding="us-ascii"), |
| 2269 | b'<doc>舰</doc>') |
| 2270 | self.assertEqual(serialize(e), '<doc>\u8230</doc>') |
| 2271 | |
| 2272 | @unittest.expectedFailure # TODO: RUSTPYTHON |
| 2273 | def test_bug_xmltoolkit55(self): |
nothing calls this directly
no test coverage detected