summaryrefslogtreecommitdiff
path: root/Lib/test/test_xml_etree.py
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2013-05-19 09:20:50 -0700
committerEli Bendersky <eliben@gmail.com>2013-05-19 09:20:50 -0700
commit236ff9507991910ea6a9eb41ca85bad41344f38d (patch)
tree228d8d60370e3743dd377fbda401ec3254c3a818 /Lib/test/test_xml_etree.py
parent70f61ef48707ddc6e9899575074029db15e68257 (diff)
downloadcpython-236ff9507991910ea6a9eb41ca85bad41344f38d.tar.gz
Issue #17988: remove unused alias for Element and rename the used one
Renaming to _Element_Py for clarity and moving it to a more logical location. _ElementInterface OTOH is unused and is therefore removed. Close #17988
Diffstat (limited to 'Lib/test/test_xml_etree.py')
-rw-r--r--Lib/test/test_xml_etree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_xml_etree.py b/Lib/test/test_xml_etree.py
index 69733713c7..2636da3ea6 100644
--- a/Lib/test/test_xml_etree.py
+++ b/Lib/test/test_xml_etree.py
@@ -1983,7 +1983,7 @@ class TreeBuilderTest(unittest.TestCase):
# Mimick SimpleTAL's behaviour (issue #16089): both versions of
# TreeBuilder should be able to cope with a subclass of the
# pure Python Element class.
- base = ET._Element
+ base = ET._Element_Py
# Not from a C extension
self.assertEqual(base.__module__, 'xml.etree.ElementTree')
# Force some multiple inheritance with a C class to make things