Issue #26676: Add missing XMLPullParser to ElementTree.__all__

This commit is contained in:
Martin Panter 2016-04-01 06:55:55 +00:00
parent 0a85c69f1d
commit dcfebb32e2
4 changed files with 9 additions and 4 deletions

View file

@ -91,8 +91,6 @@ ENTITY_XML = """\
class ModuleTest(unittest.TestCase):
# TODO: this should be removed once we get rid of the global module vars
def test_sanity(self):
# Import sanity.
@ -100,6 +98,10 @@ class ModuleTest(unittest.TestCase):
from xml.etree import ElementInclude
from xml.etree import ElementPath
def test_all(self):
names = ("xml.etree.ElementTree", "_elementtree")
support.check__all__(self, ET, names, blacklist=("HTML_EMPTY",))
def serialize(elem, to_string=True, encoding='unicode', **options):
if encoding != 'unicode':