Update of /cvsroot/pywin32/pywin32/win32/test
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31969/win32/test
Modified Files:
test_win32file.py
Log Message:
don't attempt to close a handle we already closed!
Index: test_win32file.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/test/test_win32file.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** test_win32file.py 16 Jan 2009 03:29:31 -0000 1.26
--- test_win32file.py 25 Jan 2009 03:21:55 -0000 1.27
***************
*** 297,301 ****
raise
finally:
! handle.Close()
t.join(3)
self.failIf(t.isAlive(), "thread didn't finish")
--- 297,302 ----
raise
finally:
! if not test_overlapped_death:
! handle.Close()
t.join(3)
self.failIf(t.isAlive(), "thread didn't finish")
|