]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix IntegerTest for sqlalchemy-firebird
authorGord Thompson <gord@gordthompson.com>
Tue, 25 Feb 2020 16:46:48 +0000 (09:46 -0700)
committerGord Thompson <gord@gordthompson.com>
Tue, 25 Feb 2020 16:46:48 +0000 (09:46 -0700)
Recent cleanup of test_types.py introduced a
regression for sqlalchemy-firebird (and possibly
other external dialects). With this change,
`test_huge_int` now passes for
sqlalchemy-firebird.

Change-Id: Ieeb4b33ec5985f2e2bf6832d1cdef294f85407a0

lib/sqlalchemy/testing/suite/test_types.py

index 3ad8d5316e4e975990d6b8e162b7d29c4cf2512a..73cd1deca86d652a06e807e2b73c1b90677b2ce8 100644 (file)
@@ -411,7 +411,7 @@ class IntegerTest(_LiteralRoundTripFixture, fixtures.TestBase):
             Column("integer_data", datatype),
         )
 
-        metadata.create_all(connection)
+        metadata.create_all(config.db)
 
         connection.execute(int_table.insert(), {"integer_data": data})