[pywin32-checkins] pywin32/win32/test test_odbc.py,1.13,1.14
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2009-01-25 03:21:12
|
Update of /cvsroot/pywin32/pywin32/win32/test In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31889/win32/test Modified Files: test_odbc.py Log Message: make test for large ints work on py2k and py3k Index: test_odbc.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/test/test_odbc.py,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** test_odbc.py 7 Jan 2009 06:03:29 -0000 1.13 --- test_odbc.py 25 Jan 2009 03:21:07 -0000 1.14 *************** *** 130,134 **** self._test_val('intfield', 1) self._test_val('intfield', 0) ! self._test_val('intfield', sys.maxint) def testFloat(self): --- 130,138 ---- self._test_val('intfield', 1) self._test_val('intfield', 0) ! try: ! big = sys.maxsize ! except AttributeError: ! big = sys.maxint ! self._test_val('intfield', big) def testFloat(self): |