summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_xml_etree.py
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2013-05-19 16:20:50 (GMT)
committerEli Bendersky <eliben@gmail.com>2013-05-19 16:20:50 (GMT)
commit46955b2d30c0185d6471ce42c7766633b499e232 (patch)
treee797823d1408fc6a5257b4b065d6f85705beb855 /Lib/test/test_xml_etree.py
parentfb625448f83036b24b3191b8c2a062362bf8ad26 (diff)
downloadcpython-46955b2d30c0185d6471ce42c7766633b499e232.zip
cpython-46955b2d30c0185d6471ce42c7766633b499e232.tar.gz
cpython-46955b2d30c0185d6471ce42c7766633b499e232.tar.bz2
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 6973371..2636da3 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