This commit was manufactured by cvs2svn to create tag 'r221'.
[python/dscho.git] / Lib / test / test_tempfile.py
blob286e79cfa459ee7053d414db89919d16067bb790
1 # SF bug #476138: tempfile behavior across platforms
2 # Ensure that a temp file can be closed any number of times without error.
4 import tempfile
6 f = tempfile.TemporaryFile("w+b")
7 f.write('abc\n')
8 f.close()
9 f.close()
10 f.close()