[pywin32-checkins] pywin32/win32/test test_win32file.py,1.14,1.15
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-10-23 07:39:19
|
Update of /cvsroot/pywin32/pywin32/win32/test In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv305/win32/test Modified Files: test_win32file.py Log Message: various improvements and modernizations from py3k branch. Index: test_win32file.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/test/test_win32file.py,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** test_win32file.py 3 Oct 2008 01:03:56 -0000 1.14 --- test_win32file.py 23 Oct 2008 07:39:12 -0000 1.15 *************** *** 175,179 **** try: win32file.CloseHandle(hv) ! raise RuntimeError, "Expected close to fail!" except win32file.error, details: self.failUnlessEqual(details.winerror, winerror.ERROR_INVALID_HANDLE) --- 175,179 ---- try: win32file.CloseHandle(hv) ! raise RuntimeError("Expected close to fail!") except win32file.error, details: self.failUnlessEqual(details.winerror, winerror.ERROR_INVALID_HANDLE) |