[pywin32-checkins] pywin32/com/win32com/test testPyComTest.py, 1.23, 1.24
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2006-06-21 12:19:43
|
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" |