From: Finn B. <bc...@us...> - 2001-10-27 22:18:54
|
Update of /cvsroot/jython/bugtests In directory usw-pr-cvs1:/tmp/cvs-serv17958 Added Files: test322.py test322m.py Log Message: [ #448398 ] open('test.txt','w').write('test') fails --- NEW FILE: test322.py --- """ [ #448398 ] open('test.txt','w').write('test') fails """ import support support.runJython("test322m.py") import os l = os.stat("test322.out")[6] if l != 7: raise support.TestWarning('The file should have been auto flushed') --- NEW FILE: test322m.py --- f = open('test322.out','w') f.write("xvavava") #f.flush() |