Skip to content

Commit 386e246

Browse files
committed
SA20: Fix SqlAlchemyDictTypeTest
Don't use `autoload_with` on table `mytable`, because it will never be persisted to a database, so it can not be inspected.
1 parent b20faba commit 386e246

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/crate/client/sqlalchemy/tests/dict_test.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ def setUp(self):
4343
self.mytable = sa.Table('mytable',
4444
metadata,
4545
sa.Column('name', sa.String),
46-
sa.Column('data', Craty),
47-
autoload_with=self.engine)
46+
sa.Column('data', Craty))
4847

4948
def assertSQL(self, expected_str, actual_expr):
5049
self.assertEqual(expected_str, str(actual_expr).replace('\n', ''))

0 commit comments

Comments
 (0)