summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_xml_etree.py
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2013-01-12 15:44:32 (GMT)
committerEli Bendersky <eliben@gmail.com>2013-01-12 15:44:32 (GMT)
commitc31f77355cef1307d58bbbca07b85a134db8d04e (patch)
treea4c109d9a1897305a7a06ad32e695ff54ba4e6d9 /Lib/test/test_xml_etree.py
parentceab1a950b78838a03b5a1a6047fbe3def69b5d6 (diff)
downloadcpython-c31f77355cef1307d58bbbca07b85a134db8d04e.zip
cpython-c31f77355cef1307d58bbbca07b85a134db8d04e.tar.gz
cpython-c31f77355cef1307d58bbbca07b85a134db8d04e.tar.bz2
clean trailing whitespace
Diffstat (limited to 'Lib/test/test_xml_etree.py')
-rw-r--r--Lib/test/test_xml_etree.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_xml_etree.py b/Lib/test/test_xml_etree.py
index 4eacd21..59a8508 100644
--- a/Lib/test/test_xml_etree.py
+++ b/Lib/test/test_xml_etree.py
@@ -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):