From: Jason Kirtland Date: Tue, 2 Oct 2007 20:58:58 +0000 (+0000) Subject: - Tweaked the sql.text date test X-Git-Tag: rel_0_4_0~79 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=73b0c40946ddcf4f4cbbccb90e81fd914143576d;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - Tweaked the sql.text date test --- diff --git a/test/sql/testtypes.py b/test/sql/testtypes.py index 8c29ced1bb..72a696c962 100644 --- a/test/sql/testtypes.py +++ b/test/sql/testtypes.py @@ -455,7 +455,7 @@ class DateTest(AssertMixin): x = testbase.db.text( "select * from query_users_with_date where user_datetime=:date", - bindparams=[bindparam('date', )]).execute( + bindparams=[bindparam('date', type_=types.DateTime)]).execute( date=datetime.datetime(2005, 11, 10, 11, 52, 35)).fetchall() print repr(x)