summaryrefslogtreecommitdiff
path: root/test/sql/test_insert.py
diff options
context:
space:
mode:
authorDiana Clarke <diana.joan.clarke@gmail.com>2013-03-30 09:30:58 -0400
committerDiana Clarke <diana.joan.clarke@gmail.com>2013-03-30 09:30:58 -0400
commit25c6732019550e6f26ae4da58084b939e04cffa1 (patch)
tree32a319d13f22ece65148f2208d589cfc04fc6091 /test/sql/test_insert.py
parent2fa9dd6bb878573c970aeadad978a19053e550d1 (diff)
downloadsqlalchemy-25c6732019550e6f26ae4da58084b939e04cffa1.tar.gz
moving insert returning test back into CRUD test class until I figure out why moving it broke the oracle/postgres builds
Diffstat (limited to 'test/sql/test_insert.py')
-rw-r--r--test/sql/test_insert.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/sql/test_insert.py b/test/sql/test_insert.py
index adfa4102b..c74e11e18 100644
--- a/test/sql/test_insert.py
+++ b/test/sql/test_insert.py
@@ -109,13 +109,6 @@ class InsertTest(_InsertTestBase, fixtures.TablesTest, AssertsCompiledSQL):
self.assert_compile(table.insert(inline=True),
'INSERT INTO sometable (foo) VALUES (foobar())', params={})
- def test_returning_not_in_default(self):
- table1 = self.tables.mytable
-
- stmt = table1.insert().returning(table1.c.myid)
- m = "RETURNING is not supported by this dialect's statement compiler."
- assert_raises_message(exc.CompileError, m, stmt.compile)
-
class EmptyTest(_InsertTestBase, fixtures.TablesTest, AssertsCompiledSQL):
__dialect__ = 'default'