Commit c31f7735 authored by Eli Bendersky's avatar Eli Bendersky

clean trailing whitespace

parent ceab1a95
......@@ -1831,7 +1831,7 @@ class ElementFindTest(unittest.TestCase):
e = ET.XML(SAMPLE_XML)
with self.assertRaisesRegex(SyntaxError, 'cannot use absolute path'):
e.findall('/tag')
def test_find_through_ElementTree(self):
e = ET.XML(SAMPLE_XML)
self.assertEqual(ET.ElementTree(e).find('tag').tag, 'tag')
......@@ -1841,7 +1841,7 @@ class ElementFindTest(unittest.TestCase):
# this produces a warning
self.assertEqual(summarize_list(ET.ElementTree(e).findall('//tag')),
['tag'] * 3)
class ElementIterTest(unittest.TestCase):
def _ilist(self, elem, tag=None):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment