[pywin32-checkins] pywin32/adodbapi/tests adodbapitestconfig.py, 1.2, 1.3
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Vernon C. <kf...@us...> - 2008-08-29 14:31:09
|
Update of /cvsroot/pywin32/pywin32/adodbapi/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26290 Modified Files: adodbapitestconfig.py Log Message: update to version 2.2. Index: adodbapitestconfig.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/adodbapi/tests/adodbapitestconfig.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** adodbapitestconfig.py 6 Aug 2008 16:18:06 -0000 1.2 --- adodbapitestconfig.py 29 Aug 2008 14:31:19 -0000 1.3 *************** *** 4,9 **** doAccessTest = True ! doSqlServerTest = True ! doMySqlTest = True try: #If mx extensions are installed, use mxDateTime --- 4,9 ---- doAccessTest = True ! doSqlServerTest = False #True ! doMySqlTest = False #True try: #If mx extensions are installed, use mxDateTime *************** *** 21,25 **** print 'Error: adodbapi 2.1 requires Python 2.3' ! iterateOverTimeTests=True if doAccessTest: --- 21,25 ---- print 'Error: adodbapi 2.1 requires Python 2.3' ! iterateOverTimeTests=False #True if doAccessTest: *************** *** 36,40 **** from win32com.client import constants win32 = True ! except importError: #perhaps we are running IronPython win32 = False if not win32: --- 36,40 ---- from win32com.client import constants win32 = True ! except ImportError: #perhaps we are running IronPython win32 = False if not win32: *************** *** 45,49 **** # Create a brand-new database - what is the story with these? for suffix in (".36", ".35", ".30"): - ###print 'trying DAO.DBEngine',suffix try: if win32: --- 45,48 ---- *************** *** 51,55 **** else: type= Type.GetTypeFromProgID("DAO.DBEngine" + suffix) ! dbe = Activator.CreateInstance(typ) break except: --- 50,54 ---- else: type= Type.GetTypeFromProgID("DAO.DBEngine" + suffix) ! dbe = Activator.CreateInstance(type) break except: |