]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
repair broken truediv test suite; memusage
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 20 Jan 2022 17:26:36 +0000 (12:26 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 20 Jan 2022 18:25:11 +0000 (13:25 -0500)
commit867235e4902c91531095676e3a413d935181b0bd
tree921c46b34c1c95f9f2e6ca1b5c75bc8f06e2888b
parentc6b15e443e0cfc7a09eb24c37123a595fdb639ca
repair broken truediv test suite; memusage

the truediv test suite didn't have __backend__ so wasn't running
for every DB except in the main build.  Repaired this as well
as truediv support to preserve the right-hand side type
when casting to numeric, if the right type is already a
numeric type.

also fixed a memusage test that relies on savepoints so was
not running under gerrit runs.

Change-Id: I3be223fdf697af9c1ed61b70d621f57cbbb7a92b
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/testing/suite/test_types.py
test/aaa_profiling/test_memusage.py
test/orm/test_deprecations.py
test/sql/test_compiler.py