Update of /cvsroot/pywin32/pywin32/win32/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18175/test
Modified Files:
test_win32pipe.py
Log Message:
Fix the return value from win32pipe.ConnectNamedPipe() when the function
succeeds, as discussed on python-win32.
Index: test_win32pipe.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/test/test_win32pipe.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test_win32pipe.py 2 Jul 2003 04:01:28 -0000 1.1
--- test_win32pipe.py 16 Jul 2006 11:02:23 -0000 1.2
***************
*** 35,38 ****
--- 35,39 ----
hr = win32pipe.ConnectNamedPipe(pipeHandle)
+ self.failUnlessEqual(0, hr)
win32file.WriteFile(pipeHandle, "bar\0foo")
hr, got = win32file.ReadFile(pipeHandle, 100)
|