(self)
| 3281 | self.assertEqual(root_elem.findtext('./bar'), '') |
| 3282 | |
| 3283 | def test_findall_with_mutating(self): |
| 3284 | for cls in [MutationDeleteElementPath, MutationClearElementPath]: |
| 3285 | with self.subTest(cls): |
| 3286 | e = ET.Element('foo') |
| 3287 | e.extend([ET.Element('bar')]) |
| 3288 | e.findall(cls(e, 'x')) |
| 3289 | |
| 3290 | def test_findall_with_error(self): |
| 3291 | e = ET.Element('foo') |