From: Mike Bayer Date: Sat, 16 Jun 2012 23:14:48 +0000 (-0400) Subject: remove this test now covered in test_execute X-Git-Tag: rel_0_7_8~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf089782c1027dffdf32ae1698f7f6fd82a7fb09;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git remove this test now covered in test_execute --- diff --git a/test/sql/test_query.py b/test/sql/test_query.py index ed6f59a548..b7f28e58d9 100644 --- a/test/sql/test_query.py +++ b/test/sql/test_query.py @@ -879,14 +879,6 @@ class QueryTest(fixtures.TestBase): ) trans.rollback() - def test_no_inserted_pk_on_non_insert(self): - result = testing.db.execute("select * from query_users") - assert_raises_message( - exc.InvalidRequestError, - r"Statement is not an insert\(\) expression construct.", - getattr, result, 'inserted_primary_key' - ) - @testing.requires.returning def test_no_inserted_pk_on_returning(self): result = testing.db.execute(users.insert().returning(users.c.user_id, users.c.user_name))