diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-05-26 13:46:36 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-05-27 12:12:56 -0400 |
commit | ff1d989c1433c96ac1a50c3662e77ec1025c57cb (patch) | |
tree | 53d40e9839597f84aef668a860bf838fa6264c53 /lib/sqlalchemy/testing/warnings.py | |
parent | 37db4530baaedfff078c5ced83e088bd631a8d75 (diff) | |
download | sqlalchemy-ff1d989c1433c96ac1a50c3662e77ec1025c57cb.tar.gz |
get tests to pass on python 3.10
Resolved various deprecation warnings which were appearing as of Python
version 3.10.0b1.
block aiomysql on python 3.10 as they are using the "loop" argument
that's removed
sqlcipher-binary has no builds on 3.10, block it for 3.10
Fixes: #6540
Fixes: #6543
Change-Id: Iec1e3881fb289878881ae043b1a18c3ecdf5f077
Diffstat (limited to 'lib/sqlalchemy/testing/warnings.py')
-rw-r--r-- | lib/sqlalchemy/testing/warnings.py | 13 |
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", |