mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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
This commit is contained in:
parent
fb625448f8
commit
46955b2d30
2 changed files with 7 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue