summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/test/requires.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-08-01 18:24:35 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-08-01 18:24:35 -0400
commitc09b79d61eaba130efcd676db5e27ac3635535d2 (patch)
tree689b89d21811d0fb880f0e69a5d028178a589c21 /lib/sqlalchemy/test/requires.py
parent62b12e4266e5d2305f7dbc17b44bab6b2b05c622 (diff)
downloadsqlalchemy-c09b79d61eaba130efcd676db5e27ac3635535d2.tar.gz
- The name ConcurrentModificationError has been
changed to StaleDataError, and descriptive error messages have been revised to reflect exactly what the issue is. Both names will remain available for the forseeable future for schemes that may be specifying ConcurrentModificationError in an "except:" clause.
Diffstat (limited to 'lib/sqlalchemy/test/requires.py')
-rw-r--r--lib/sqlalchemy/test/requires.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sqlalchemy/test/requires.py b/lib/sqlalchemy/test/requires.py
index 1b9052fd8..fefb00330 100644
--- a/lib/sqlalchemy/test/requires.py
+++ b/lib/sqlalchemy/test/requires.py
@@ -247,6 +247,12 @@ def sane_rowcount(fn):
skip_if(lambda: not testing.db.dialect.supports_sane_rowcount)
)
+def sane_multi_rowcount(fn):
+ return _chain_decorators_on(
+ fn,
+ skip_if(lambda: not testing.db.dialect.supports_sane_multi_rowcount)
+ )
+
def reflects_pk_names(fn):
"""Target driver reflects the name of primary key constraints."""
return _chain_decorators_on(