From: Mike Bayer Date: Sat, 16 Jun 2012 23:14:36 +0000 (-0400) Subject: remove this test now covered in test_execute X-Git-Tag: rel_0_8_0b1~380 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c237ce43bde64b43dbce6c6b8597617aef04dbe8;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 31b4087967..8a439c15ca 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))