From: Gord Thompson Date: Tue, 25 Feb 2020 16:46:48 +0000 (-0700) Subject: Fix IntegerTest for sqlalchemy-firebird X-Git-Tag: rel_1_4_0b1~462^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdc195ff48f12e4bf54b99e4269db693f5a46a15;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix IntegerTest for sqlalchemy-firebird 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 --- diff --git a/lib/sqlalchemy/testing/suite/test_types.py b/lib/sqlalchemy/testing/suite/test_types.py index 3ad8d5316e..73cd1deca8 100644 --- a/lib/sqlalchemy/testing/suite/test_types.py +++ b/lib/sqlalchemy/testing/suite/test_types.py @@ -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})