diff options
author | Federico Caselli <cfederico87@gmail.com> | 2023-04-13 22:22:14 +0200 |
---|---|---|
committer | Federico Caselli <cfederico87@gmail.com> | 2023-04-13 22:23:03 +0200 |
commit | 4c5f80b0217c2d5b778ab2c5c34d431206d7a743 (patch) | |
tree | 0e28ea0b78d8fe7377fa78338847656bf0de9fcb /tests | |
parent | 6d5ac4fdf0066fb073636233d8cd334f8f02b5a3 (diff) | |
download | alembic-4c5f80b0217c2d5b778ab2c5c34d431206d7a743.tar.gz |
Improve typing.
Correctly pass previously ignored arguments ``insert_before`` and
``insert_after`` in ``batch_alter_column``
Fixes: #1221
Change-Id: I79c9144f3e521fca00a0c32462ae2a69f9f7a032
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_mysql.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_mysql.py b/tests/test_mysql.py index 2145fd7..92c1819 100644 --- a/tests/test_mysql.py +++ b/tests/test_mysql.py @@ -627,7 +627,7 @@ class MySQLDefaultCompareTest(TestBase): insp = inspect(self.bind) cols = insp.get_columns(t1.name) refl = Table(t1.name, MetaData()) - sqla_compat._reflect_table(insp, refl, None) + sqla_compat._reflect_table(insp, refl) ctx = self.autogen_context["context"] return ctx.impl.compare_server_default( refl.c[cols[0]["name"]], col, rendered, cols[0]["default"] |