]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
run test_update_rowcount_return_defaults only w/ returning
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 6 Jun 2022 14:58:59 +0000 (10:58 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 6 Jun 2022 14:58:59 +0000 (10:58 -0400)
commit938c5d1033085289b4cbbd4b9229eaa3ad90b66d
tree6ce50880217ade1366737901bc06fcf0ff701fb0
parent6e538cf64adfef7f604e3b0d976405a27b8e3d27
run test_update_rowcount_return_defaults only w/ returning

sane_rowcount_w_returning asserts failure, which will only
occur here if the DBAPI actually uses RETURNING.

as SQLite conditionally supports RETURNING which breaks
rowcount support only if present, limit this test to that
case.

Additionally, newer pysqlites will likely fix the issue so
we will probably want to put a sqlite3_version check as well
once that fix is released.

Change-Id: I065aa181eb48363c1024550ae3622486ae0b4a6e
lib/sqlalchemy/testing/suite/test_rowcount.py