From eddf474d528f55a2ed56e3dac1b0e5decd1e0952 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 27 Sep 2022 10:23:28 -0400 Subject: [PATCH] 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 --- test/orm/inheritance/test_basic.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/orm/inheritance/test_basic.py b/test/orm/inheritance/test_basic.py index 5f8cfc1f56..87c61d3952 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", -- 2.47.2