summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing/warnings.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/testing/warnings.py')
-rw-r--r--lib/sqlalchemy/testing/warnings.py13
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/sqlalchemy/testing/warnings.py b/lib/sqlalchemy/testing/warnings.py
index 3236ecf89..89ee861cb 100644
--- a/lib/sqlalchemy/testing/warnings.py
+++ b/lib/sqlalchemy/testing/warnings.py
@@ -25,10 +25,19 @@ def setup_filters():
# some selected deprecations...
warnings.filterwarnings("error", category=DeprecationWarning)
warnings.filterwarnings(
- "ignore", category=DeprecationWarning, message=".*StopIteration"
+ "ignore", category=DeprecationWarning, message=r".*StopIteration"
)
warnings.filterwarnings(
- "ignore", category=DeprecationWarning, message=".*inspect.get.*argspec"
+ "ignore",
+ category=DeprecationWarning,
+ message=r".*inspect.get.*argspec",
+ )
+
+ # used by pytest-xdist
+ warnings.filterwarnings(
+ "ignore",
+ category=DeprecationWarning,
+ message=r".*isSet\(\) is deprecated, use is_set\(\).*",
)
warnings.filterwarnings(
"ignore",