(self)
| 2425 | b'<dc:title xmlns:dc="http://purl.org/dc/elements/1.1/" />') |
| 2426 | |
| 2427 | def test_bug_200709_element_comment(self): |
| 2428 | # Not sure if this can be fixed, really (since the serializer needs |
| 2429 | # ET.Comment, not cET.comment). |
| 2430 | |
| 2431 | a = ET.Element('a') |
| 2432 | a.append(ET.Comment('foo')) |
| 2433 | self.assertEqual(a[0].tag, ET.Comment) |
| 2434 | |
| 2435 | a = ET.Element('a') |
| 2436 | a.append(ET.PI('foo')) |
| 2437 | self.assertEqual(a[0].tag, ET.PI) |
| 2438 | |
| 2439 | def test_bug_200709_element_insert(self): |
| 2440 | a = ET.Element('a') |
nothing calls this directly
no test coverage detected