]> granicus.if.org Git - python/commitdiff
Do not hardcode Expat version. It's possible to build Python with --with-system...
authorFlorent Xicluna <florent.xicluna@gmail.com>
Sun, 14 Mar 2010 15:20:59 +0000 (15:20 +0000)
committerFlorent Xicluna <florent.xicluna@gmail.com>
Sun, 14 Mar 2010 15:20:59 +0000 (15:20 +0000)
Lib/test/test_xml_etree.py

index 7fbc78c60d8d279c545d0306abfd2487da2422b2..9797b53b86dda23b7ca68bcd610f5db27fca0579 100644 (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>