Commits

Mike Bayer  committed b2c6a1a

remove this test now covered in test_execute

  • Participants
  • Parent commits dfa8b6e
  • Branches rel_0_7

Comments (0)

Files changed (1)

File test/sql/test_query.py

             )
             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))