summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing/warnings.py
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2020-04-18 20:58:41 +0200
committerFederico Caselli <cfederico87@gmail.com>2020-04-29 17:50:44 +0000
commit18ce4f9937c2d6753acbb054b4990c7da298a5d7 (patch)
treec385de2c16ef63586a1c604efe9393bddbb20acf /lib/sqlalchemy/testing/warnings.py
parent0faee1bbf20cb4a2599888b427b8015ec5f3c890 (diff)
downloadsqlalchemy-18ce4f9937c2d6753acbb054b4990c7da298a5d7.tar.gz
Deprecate unsupported dialects and dbapi
- Deprecate dialects firebird and sybase. - Deprecate DBAPI - mxODBC for mssql - oursql for mysql - pygresql and py-postgresql for postgresql - Removed adodbapi DBAPI for mssql Fixes: #5189 Change-Id: Id9025f4f4de7e97d65aacd0eb4b0c21beb9a67b5
Diffstat (limited to 'lib/sqlalchemy/testing/warnings.py')
-rw-r--r--lib/sqlalchemy/testing/warnings.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/sqlalchemy/testing/warnings.py b/lib/sqlalchemy/testing/warnings.py
index 39cffbf15..3850f65c8 100644
--- a/lib/sqlalchemy/testing/warnings.py
+++ b/lib/sqlalchemy/testing/warnings.py
@@ -40,6 +40,11 @@ def setup_filters():
category=sa_exc.SADeprecationWarning,
message=r".*\(deprecated since: 2.0\)$",
)
+ warnings.filterwarnings(
+ "ignore",
+ category=sa_exc.SADeprecationWarning,
+ message=r"^The (Sybase|firebird) dialect is deprecated and will be",
+ )
try:
import pytest