Update of /cvsroot/pywin32/pywin32/win32/test
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1460/win32/test
Modified Files:
Tag: py3k
test_odbc.py
Log Message:
tweaks so we are identical to 2to3's output
Index: test_odbc.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/test/test_odbc.py,v
retrieving revision 1.7.2.2
retrieving revision 1.7.2.3
diff -C2 -d -r1.7.2.2 -r1.7.2.3
*** test_odbc.py 20 Oct 2008 03:31:32 -0000 1.7.2.2
--- test_odbc.py 11 Dec 2008 07:02:51 -0000 1.7.2.3
***************
*** 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) as 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) as why:
! print("Failed to delete test table %s" %self.tablename, why)
self.cur.close()
|