Update of /cvsroot/pywin32/pywin32/win32/test
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv8245/win32/test
Modified Files:
Tag: py3k
test_win32file.py
Log Message:
merge various py3k friendly changes from the trunk.
Index: test_win32file.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/test/test_win32file.py,v
retrieving revision 1.13.2.2
retrieving revision 1.13.2.3
diff -C2 -d -r1.13.2.2 -r1.13.2.3
*** test_win32file.py 3 Oct 2008 01:09:55 -0000 1.13.2.2
--- test_win32file.py 23 Oct 2008 09:45:16 -0000 1.13.2.3
***************
*** 231,236 ****
win32file.CreateIoCompletionPort(handle, port, 1, 0)
! thread = threading.Thread(target=self._IOCPServerThread, args=(handle,port, test_overlapped_death))
! thread.start()
try:
time.sleep(0.1) # let thread do its thing.
--- 231,236 ----
win32file.CreateIoCompletionPort(handle, port, 1, 0)
! t = threading.Thread(target=self._IOCPServerThread, args=(handle,port, test_overlapped_death))
! t.start()
try:
time.sleep(0.1) # let thread do its thing.
***************
*** 243,247 ****
finally:
handle.Close()
! thread.join()
def testCompletionPortsNonQueuedBadReference(self):
--- 243,247 ----
finally:
handle.Close()
! t.join()
def testCompletionPortsNonQueuedBadReference(self):
|