source: exist/branches/proglue_production_rev4605_xquery4884/python/elementtree-1.3a6-20070310-badc/unittests/test_xmlparser.py @ 4886

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/exist/branches/proglue_production_rev4605_xquery4884/python/elementtree-1.3a6-20070310-badc/unittests/test_xmlparser.py@4886
Revision 4886, 421 bytes checked in by sdonegan, 10 years ago (diff)

Creating operational branch for ndgUtils as used on proglue

Line 
1# $Id: test_xmlparser.py 3298 2007-09-13 14:38:02Z fredrik $
2
3from support import *
4
5def bug_200708_version():
6    """
7    >>> parser = ET.XMLParser()
8    >>> parser.version
9    'Expat 2.0.0'
10    >>> parser.feed(open("samples/simple.xml").read())
11    >>> print serialize(parser.close())
12    <root>
13       <element key="value">text</element>
14       <element>text</element>tail
15       <empty-element />
16    </root>
17    """
Note: See TracBrowser for help on using the repository browser.