From: Philip Jenvey Date: Wed, 29 Jul 2009 00:47:32 +0000 (+0000) Subject: apparently this passes with implicit returning X-Git-Tag: rel_0_6_6~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d16a97834b7acab76700f07392d139329e26ee3;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git apparently this passes with implicit returning --- diff --git a/test/engine/test_execute.py b/test/engine/test_execute.py index 3a527bacec..e520a7b495 100644 --- a/test/engine/test_execute.py +++ b/test/engine/test_execute.py @@ -84,7 +84,8 @@ class ExecuteTest(TestBase): except tsa.exc.DBAPIError: assert True - @testing.fails_if(lambda: not testing.db.dialect.supports_sane_rowcount) + @testing.fails_if(lambda: (not testing.db.dialect.supports_sane_rowcount and + not testing.db.dialect.implicit_returning)) def test_empty_insert(self): """test that execute() interprets [] as a list with no params""" result = testing.db.execute(users.insert().values(user_name=bindparam('name')), [])