[pywin32-checkins] pywin32/win32/test test_win32file.py,1.15,1.16
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-11-27 11:11:16
|
Update of /cvsroot/pywin32/pywin32/win32/test In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv25000/win32/test Modified Files: test_win32file.py Log Message: dict upgrades and // for int division Index: test_win32file.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/test/test_win32file.py,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** test_win32file.py 23 Oct 2008 07:39:12 -0000 1.15 --- test_win32file.py 27 Nov 2008 11:11:11 -0000 1.16 *************** *** 59,63 **** # Now truncate the file at 1/2 its existing size. ! newSize = len(data)/2 win32file.SetFilePointer(h, newSize, win32file.FILE_BEGIN) win32file.SetEndOfFile(h) --- 59,63 ---- # Now truncate the file at 1/2 its existing size. ! newSize = len(data)//2 win32file.SetFilePointer(h, newSize, win32file.FILE_BEGIN) win32file.SetEndOfFile(h) |