]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
exclude pk update tests for mssql
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 29 Dec 2022 19:07:32 +0000 (14:07 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 29 Dec 2022 19:07:32 +0000 (14:07 -0500)
Change-Id: I817dacc30143fd54126cd7fe92429af858605259

test/orm/test_expire.py

index d2d3d3aa4dd5df18a037bd2d1d9de5933e90dacf..6138f4b5df86dbd36ed276c74315515a95fb1c69 100644 (file)
@@ -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
     ):