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

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

Added latest ElementTree version (12/2/08) from Fredrik Lundh

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.