Kaydet (Commit) ece29b2a authored tarafından Florent Xicluna's avatar Florent Xicluna

Do not hardcode Expat version. It's possible to build Python with --with-system-expat option.

üst 3b2abe95
...@@ -586,8 +586,8 @@ def parsefile(): ...@@ -586,8 +586,8 @@ def parsefile():
</ns0:root> </ns0:root>
>>> parser = ET.XMLParser() >>> parser = ET.XMLParser()
>>> parser.version # XXX: Upgrade to 2.0.1? >>> parser.version # doctest: +ELLIPSIS
'Expat 2.0.0' 'Expat ...'
>>> parser.feed(open(SIMPLE_XMLFILE).read()) >>> parser.feed(open(SIMPLE_XMLFILE).read())
>>> print serialize(parser.close()) >>> print serialize(parser.close())
<root> <root>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment