summaryrefslogtreecommitdiff
path: root/test/sql/test_insert.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/sql/test_insert.py')
-rw-r--r--test/sql/test_insert.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/sql/test_insert.py b/test/sql/test_insert.py
index e23ab520d..d3bc11a96 100644
--- a/test/sql/test_insert.py
+++ b/test/sql/test_insert.py
@@ -9,6 +9,7 @@ from sqlalchemy.testing import AssertsCompiledSQL,\
assert_raises_message, fixtures, eq_, expect_warnings
from sqlalchemy.sql import crud
+
class _InsertTestBase(object):
@classmethod
@@ -24,8 +25,7 @@ class _InsertTestBase(object):
Column('id', Integer, primary_key=True),
Column('x', Integer, default=10),
Column('y', Integer, server_default=text('5')),
- Column('z', Integer, default=lambda: 10)
- )
+ Column('z', Integer, default=lambda: 10))
class InsertTest(_InsertTestBase, fixtures.TablesTest, AssertsCompiledSQL):
@@ -426,7 +426,6 @@ class InsertTest(_InsertTestBase, fixtures.TablesTest, AssertsCompiledSQL):
"SELECT mytable.foo, :bar AS anon_1 FROM mytable"
)
-
def test_insert_mix_select_values_exception(self):
table1 = self.tables.mytable
sel = select([table1.c.myid, table1.c.name]).where(