Update of /cvsroot/pywin32/pywin32/com/win32com/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12463/win32com/test
Modified Files:
testPyComTest.py
Log Message:
test 64bit longs.
Index: testPyComTest.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/test/testPyComTest.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** testPyComTest.py 13 Feb 2006 01:23:48 -0000 1.23
--- testPyComTest.py 21 Jun 2006 12:19:40 -0000 1.24
***************
*** 189,192 ****
--- 189,195 ----
if o.GetSetVariant(o) != o:
raise error, "GetSetVariant (dispatch) failed"
+ for l in sys.maxint, sys.maxint+1, 1 << 65L:
+ if o.GetSetVariant(l) != l:
+ raise error, "GetSetVariant (long) failed"
if o.TestByRefVariant(2) != 4:
raise error, "TestByRefVariant failed"
|