(self)
| 2447 | self.assertEqual(summarize_list(a), ['d', 'b', 'd', 'c']) |
| 2448 | |
| 2449 | def test_bug_200709_iter_comment(self): |
| 2450 | a = ET.Element('a') |
| 2451 | b = ET.SubElement(a, 'b') |
| 2452 | comment_b = ET.Comment("TEST-b") |
| 2453 | b.append(comment_b) |
| 2454 | self.assertEqual(summarize_list(a.iter(ET.Comment)), [ET.Comment]) |
| 2455 | |
| 2456 | # -------------------------------------------------------------------- |
| 2457 | # reported on bugs.python.org |
nothing calls this directly
no test coverage detected