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

This commit is contained in:
Florent Xicluna 2010-03-14 15:20:59 +00:00
parent 3b2abe95e5
commit ece29b2aac
1 changed files with 2 additions and 2 deletions

View File

@ -586,8 +586,8 @@ def parsefile():
</ns0:root>
>>> parser = ET.XMLParser()
>>> parser.version # XXX: Upgrade to 2.0.1?
'Expat 2.0.0'
>>> parser.version # doctest: +ELLIPSIS
'Expat ...'
>>> parser.feed(open(SIMPLE_XMLFILE).read())
>>> print serialize(parser.close())
<root>