[pywin32-checkins] pywin32/win32/test test_odbc.py,1.11,1.12
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-11-27 09:32:38
|
Update of /cvsroot/pywin32/pywin32/win32/test In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18035/win32/test Modified Files: test_odbc.py Log Message: revert errors that crept in during py3k work Index: test_odbc.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/test/test_odbc.py,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** test_odbc.py 20 Oct 2008 03:27:48 -0000 1.11 --- test_odbc.py 27 Nov 2008 09:32:34 -0000 1.12 *************** *** 43,47 **** conn_str = "Driver={Microsoft Access Driver (*.mdb)};dbq=%s;Uid=;Pwd=;" \ % (self.db_filename,) ! ## print ('Connection string:', conn_str) self.conn = odbc.odbc(conn_str) # And we expect a 'users' table for these tests. --- 43,47 ---- conn_str = "Driver={Microsoft Access Driver (*.mdb)};dbq=%s;Uid=;Pwd=;" \ % (self.db_filename,) ! ## print 'Connection string:', conn_str self.conn = odbc.odbc(conn_str) # And we expect a 'users' table for these tests. *************** *** 74,78 **** self.cur.execute("""drop table %s""" %self.tablename) except (odbc.error, odbc.progError), why: ! print ("Failed to delete test table %s" %self.tablename, why) self.cur.close() --- 74,78 ---- self.cur.execute("""drop table %s""" %self.tablename) except (odbc.error, odbc.progError), why: ! print "Failed to delete test table %s" %self.tablename, why self.cur.close() |