From: Mike Bayer Date: Thu, 29 Dec 2022 19:07:32 +0000 (-0500) Subject: exclude pk update tests for mssql X-Git-Tag: rel_2_0_0rc2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f74de7bc0b886b3585536e2a3c7f1828ec8be083;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git exclude pk update tests for mssql Change-Id: I817dacc30143fd54126cd7fe92429af858605259 --- diff --git a/test/orm/test_expire.py b/test/orm/test_expire.py index d2d3d3aa4d..6138f4b5df 100644 --- a/test/orm/test_expire.py +++ b/test/orm/test_expire.py @@ -967,7 +967,16 @@ class ExpireTest(_fixtures.FixtureTest): [True, False], ) @testing.variation( - "expire_first", [True, False, "not_pk", "not_pk_plus_pending"] + "expire_first", + [ + True, + False, + "not_pk", + ( + "not_pk_plus_pending", + testing.requires.updateable_autoincrement_pks, + ), + ], ) @testing.variation("include_column", [True, False, "no_attrs"]) @testing.variation("autoflush", [True, False]) @@ -1111,6 +1120,7 @@ class ExpireTest(_fixtures.FixtureTest): @testing.variation("expire_first", [True, False]) @testing.variation("autoflush", [True, False]) @testing.variation("ensure_name_cleared", [True, False]) + @testing.requires.updateable_autoincrement_pks def test_no_pending_pks_on_refresh( self, expire_first, autoflush, ensure_name_cleared ):