diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-06-16 19:14:36 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-06-16 19:14:36 -0400 |
| commit | c237ce43bde64b43dbce6c6b8597617aef04dbe8 (patch) | |
| tree | 3178e66441ffdf1fb433eb41eca71511024f7e3c /test/sql/test_query.py | |
| parent | 6a48ce44f4c271bc45ed09d7253da1f1892e6272 (diff) | |
| download | sqlalchemy-c237ce43bde64b43dbce6c6b8597617aef04dbe8.tar.gz | |
remove this test now covered in test_execute
Diffstat (limited to 'test/sql/test_query.py')
| -rw-r--r-- | test/sql/test_query.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/sql/test_query.py b/test/sql/test_query.py index 31b408796..8a439c15c 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)) |
