Update of /cvsroot/pywin32/pywin32/win32/test
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2444/win32/test
Modified Files:
test_win32trace.py
Log Message:
tweaks to locals named 'thread', 'window' or 'dialog' to be 2to3-friendly
Index: test_win32trace.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/test/test_win32trace.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** test_win32trace.py 26 Nov 2008 08:56:33 -0000 1.6
--- test_win32trace.py 4 Dec 2008 07:00:21 -0000 1.7
***************
*** 309,318 ****
threads = [WriterThread() for each in range(threadCount)]
win32trace.InitWrite()
! for thread in threads:
! thread.start()
! for thread in threads:
! thread.join()
! for thread in threads:
! if not thread.verifyWritten():
sys.exit(-1)
--- 309,318 ----
threads = [WriterThread() for each in range(threadCount)]
win32trace.InitWrite()
! for t in threads:
! t.start()
! for t in threads:
! t.join()
! for t in threads:
! if not t.verifyWritten():
sys.exit(-1)
|