(self)
| 2255 | check(elem) # attribute value |
| 2256 | |
| 2257 | def test_bug_xmltoolkit25(self): |
| 2258 | # typo in ElementTree.findtext |
| 2259 | |
| 2260 | elem = ET.XML(SAMPLE_XML) |
| 2261 | tree = ET.ElementTree(elem) |
| 2262 | self.assertEqual(tree.findtext("tag"), 'text') |
| 2263 | self.assertEqual(tree.findtext("section/tag"), 'subtext') |
| 2264 | |
| 2265 | def test_bug_xmltoolkit28(self): |
| 2266 | # .//tag causes exceptions |
nothing calls this directly
no test coverage detected