]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
add sane_rowcount to SimpleUpdateDeleteTest
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 9 Apr 2022 13:50:18 +0000 (09:50 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 9 Apr 2022 13:50:48 +0000 (09:50 -0400)
For third party dialects, repaired a missing requirement for the
``SimpleUpdateDeleteTest`` suite test which was not checking for a working
"rowcount" function on the target dialect.

Fixes: #7919
Change-Id: I2bc68132131eb36c43b8dabec0fac86272e26df5

doc/build/changelog/unreleased_14/7919.rst [new file with mode: 0644]
lib/sqlalchemy/testing/suite/test_update_delete.py

diff --git a/doc/build/changelog/unreleased_14/7919.rst b/doc/build/changelog/unreleased_14/7919.rst
new file mode 100644 (file)
index 0000000..fdba724
--- /dev/null
@@ -0,0 +1,8 @@
+.. change::
+    :tags: bug, tests
+    :tickets: 7919
+
+    For third party dialects, repaired a missing requirement for the
+    ``SimpleUpdateDeleteTest`` suite test which was not checking for a working
+    "rowcount" function on the target dialect.
+
index f5ee2e02815595ab8f24110f09d3a1638c926cf0..f04a9d57ef0eddbb44ecd2308ef3c1c57463bffb 100644 (file)
@@ -8,6 +8,7 @@ from ... import String
 
 class SimpleUpdateDeleteTest(fixtures.TablesTest):
     run_deletes = "each"
+    __requires__ = ("sane_rowcount",)
     __backend__ = True
 
     @classmethod