[pywin32-checkins] pywin32/win32/test test_odbc.py,1.9,1.10
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Roger U. <ru...@us...> - 2008-10-06 01:12:43
|
Update of /cvsroot/pywin32/pywin32/win32/test In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv11138 Modified Files: test_odbc.py Log Message: Remove rest of referenced to dbi Index: test_odbc.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/test/test_odbc.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** test_odbc.py 6 Oct 2008 00:43:57 -0000 1.9 --- test_odbc.py 6 Oct 2008 01:12:36 -0000 1.10 *************** *** 4,8 **** import unittest import odbc - import dbi import tempfile --- 4,7 ---- *************** *** 50,54 **** try: self.cur.execute("""drop table pywin32test_users""") ! except (odbc.error, dbi.progError): pass --- 49,53 ---- try: self.cur.execute("""drop table pywin32test_users""") ! except (odbc.error, odbc.progError): pass *************** *** 66,70 **** try: self.cur.execute("""drop table pywin32test_users""") ! except (odbc.error, dbi.progError), why: print "Failed to delete test table:", why --- 65,69 ---- try: self.cur.execute("""drop table pywin32test_users""") ! except (odbc.error, odbc.progError), why: print "Failed to delete test table:", why *************** *** 90,94 **** try: self.test_insert_select(userid='Frank' * 200, username='Frank Millman' * 200) ! except dbi.noError: pass --- 89,93 ---- try: self.test_insert_select(userid='Frank' * 200, username='Frank Millman' * 200) ! except odbc.noError: pass |