summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_xml_etree.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-03-14 15:20:59 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-03-14 15:20:59 (GMT)
commitece29b2aac4108c12770c32294185ca5f43e3323 (patch)
treee1756299e57fc784f03c304ac07433d7d47991ca /Lib/test/test_xml_etree.py
parent3b2abe95e57e70055ddcdda8f8fd50e93196bcd4 (diff)
downloadcpython-ece29b2aac4108c12770c32294185ca5f43e3323.zip
cpython-ece29b2aac4108c12770c32294185ca5f43e3323.tar.gz
cpython-ece29b2aac4108c12770c32294185ca5f43e3323.tar.bz2
Do not hardcode Expat version. It's possible to build Python with --with-system-expat option.
Diffstat (limited to 'Lib/test/test_xml_etree.py')
-rw-r--r--Lib/test/test_xml_etree.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_xml_etree.py b/Lib/test/test_xml_etree.py
index 7fbc78c..9797b53 100644
--- a/Lib/test/test_xml_etree.py
+++ b/Lib/test/test_xml_etree.py
@@ -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>