From: Florent Xicluna Date: Sun, 14 Mar 2010 15:20:59 +0000 (+0000) Subject: Do not hardcode Expat version. It's possible to build Python with --with-system... X-Git-Tag: v2.7b1~357 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ece29b2aac4108c12770c32294185ca5f43e3323;p=python Do not hardcode Expat version. It's possible to build Python with --with-system-expat option. --- diff --git a/Lib/test/test_xml_etree.py b/Lib/test/test_xml_etree.py index 7fbc78c60d..9797b53b86 100644 --- a/Lib/test/test_xml_etree.py +++ b/Lib/test/test_xml_etree.py @@ -586,8 +586,8 @@ def parsefile(): >>> 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())