From: Mike Bayer Date: Thu, 31 Aug 2006 23:41:49 +0000 (+0000) Subject: fix to from clause in unittest query...somehow this didnt fail on pg 8.0, but fails... X-Git-Tag: rel_0_2_8~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f23a5c3de9b98a3f74b11cc765b702ad741c4b5;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix to from clause in unittest query...somehow this didnt fail on pg 8.0, but fails on 8.1 --- diff --git a/test/sql/testtypes.py b/test/sql/testtypes.py index 4b4c8d47c8..a3c1c0f182 100644 --- a/test/sql/testtypes.py +++ b/test/sql/testtypes.py @@ -311,7 +311,7 @@ class TimezoneTest(AssertMixin): # get a date without a tzinfo somedate = datetime.datetime(2005, 10,20, 11, 52, 00) notztable.insert().execute(id=1, name='row1', date=somedate) - c = notztable.update(tztable.c.id==1).execute(name='newname') + c = notztable.update(notztable.c.id==1).execute(name='newname') x = c.last_updated_params() print x['date'] == somedate