diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-09-27 10:23:28 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-09-27 10:23:28 -0400 |
commit | eddf474d528f55a2ed56e3dac1b0e5decd1e0952 (patch) | |
tree | fee8b1eb5b2d3f12b6b549be0daddecaaa3d0c25 | |
parent | 4df1f8393d4f44e74f82d35cf7237b28632a7745 (diff) | |
download | sqlalchemy-eddf474d528f55a2ed56e3dac1b0e5decd1e0952.tar.gz |
correct test criteria for mssql
this test was failing on mssql b.c. mssql
reports false for supports_default_metavalue. however
insertmanyvalues is still used in this case, and the
assert SQL is against the default dialect in any case.
Change-Id: If8301bf4c1ed090dd1440328aba1644b597e58d8
-rw-r--r-- | test/orm/inheritance/test_basic.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/orm/inheritance/test_basic.py b/test/orm/inheritance/test_basic.py index 5f8cfc1f5..87c61d395 100644 --- a/test/orm/inheritance/test_basic.py +++ b/test/orm/inheritance/test_basic.py @@ -2008,8 +2008,7 @@ class JoinedNoFKSortingTest(fixtures.MappedTest): testing.db, sess.flush, Conditional( - testing.db.dialect.insert_executemany_returning - and testing.db.dialect.supports_default_metavalue, + testing.db.dialect.insert_executemany_returning, [ CompiledSQL( "INSERT INTO a (id) VALUES (DEFAULT) RETURNING a.id", |