(self)
| 2408 | self.assertEqual(summarize_list(a), ['d', 'b', 'd', 'c']) |
| 2409 | |
| 2410 | def test_bug_200709_iter_comment(self): |
| 2411 | a = ET.Element('a') |
| 2412 | b = ET.SubElement(a, 'b') |
| 2413 | comment_b = ET.Comment("TEST-b") |
| 2414 | b.append(comment_b) |
| 2415 | self.assertEqual(summarize_list(a.iter(ET.Comment)), [ET.Comment]) |
| 2416 | |
| 2417 | # -------------------------------------------------------------------- |
| 2418 | # reported on bugs.python.org |
nothing calls this directly
no test coverage detected