[Python-checkins] r78966 - python/trunk/Lib/test/test_xml_etree.py
florent.xicluna
python-checkins at python.org
Sun Mar 14 16:21:00 CET 2010
Author: florent.xicluna
Date: Sun Mar 14 16:20:59 2010
New Revision: 78966
Log:
Do not hardcode Expat version. It's possible to build Python with --with-system-expat option.
Modified:
python/trunk/Lib/test/test_xml_etree.py
Modified: python/trunk/Lib/test/test_xml_etree.py
==============================================================================
--- python/trunk/Lib/test/test_xml_etree.py (original)
+++ python/trunk/Lib/test/test_xml_etree.py Sun Mar 14 16:20:59 2010
@@ -586,8 +586,8 @@
</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>
More information about the Python-checkins
mailing list