source: exist/trunk/python/elementtree-1.3a6-20070310-badc/unittests/test_dump.py @ 3578

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/exist/trunk/python/elementtree-1.3a6-20070310-badc/unittests/test_dump.py@3578
Revision 3578, 313 bytes checked in by pjkersha, 11 years ago (diff)

Latest releases from Fredrik Lundh. 10 March release has exclusive C14N support with namespace prefixes.

Line 
1# $Id: test_dump.py 3298 2007-09-13 14:38:02Z fredrik $
2
3from support import *
4
5def bug_dump():
6    """
7    dump() doesn't flush the output buffer
8
9    >>> tree = ET.XML("<doc><table><tbody/></table></doc>")
10    >>> ET.dump(tree); sys.stdout.write("tail")
11    <doc><table><tbody /></table></doc>
12    tail
13    """
Note: See TracBrowser for help on using the repository browser.