From: Mike Bayer Date: Sun, 21 Jul 2019 18:10:12 +0000 (-0400) Subject: filter formatargspec deprecation warning X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd237bc3a95148c60a48079359673419e30e6dde;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git filter formatargspec deprecation warning in order to allow the 1.1 branch to include its test suite under Python 3, filter out the formatargspec warning Change-Id: I20aeddb6bb88817f7d2b1d50543df2aa4d43a8cc --- diff --git a/lib/sqlalchemy/testing/warnings.py b/lib/sqlalchemy/testing/warnings.py index 46e7c54dbb..941fbf1c5e 100644 --- a/lib/sqlalchemy/testing/warnings.py +++ b/lib/sqlalchemy/testing/warnings.py @@ -26,6 +26,8 @@ def setup_filters(): "ignore", category=DeprecationWarning, message=".*StopIteration") warnings.filterwarnings( "ignore", category=DeprecationWarning, message=".*inspect.getargspec") + warnings.filterwarnings( + "ignore", category=DeprecationWarning, message=".*formatargspec") def assert_warnings(fn, warning_msgs, regex=False):