Update of /cvsroot/pywin32/pywin32/com/win32comext/shell/test
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv20331/com/win32comext/shell/test
Modified Files:
Tag: py3k
testSHFileOperation.py testShellFolder.py
Log Message:
many more upgrades to py3k syntax
Index: testSHFileOperation.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32comext/shell/test/testSHFileOperation.py,v
retrieving revision 1.2
retrieving revision 1.2.4.1
diff -C2 -d -r1.2 -r1.2.4.1
*** testSHFileOperation.py 6 Apr 2006 10:54:36 -0000 1.2
--- testSHFileOperation.py 26 Nov 2008 09:03:30 -0000 1.2.4.1
***************
*** 31,35 ****
for old_fname, new_fname in NameMappings:
! print 'Old:',old_fname, 'New:', new_fname
assert len(NameMappings)==file_cnt
testSHFileOperation(10)
--- 31,35 ----
for old_fname, new_fname in NameMappings:
! print('Old:',old_fname, 'New:', new_fname)
assert len(NameMappings)==file_cnt
testSHFileOperation(10)
Index: testShellFolder.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32comext/shell/test/testShellFolder.py,v
retrieving revision 1.2
retrieving revision 1.2.4.1
diff -C2 -d -r1.2 -r1.2.4.1
*** testShellFolder.py 31 Oct 2003 06:58:48 -0000 1.2
--- testShellFolder.py 26 Nov 2008 09:03:30 -0000 1.2.4.1
***************
*** 3,7 ****
sf = shell.SHGetDesktopFolder()
! print "Shell Folder is", sf
names = []
--- 3,7 ----
sf = shell.SHGetDesktopFolder()
! print("Shell Folder is", sf)
names = []
***************
*** 16,21 ****
num += 1
if num != len(names):
! print "Should have got the same number of names!?"
! print "Found", len(names), "items on the desktop"
for name in names:
! print name
--- 16,21 ----
num += 1
if num != len(names):
! print("Should have got the same number of names!?")
! print("Found", len(names), "items on the desktop")
for name in names:
! print(name)
|