From bd237bc3a95148c60a48079359673419e30e6dde Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 21 Jul 2019 14:10:12 -0400 Subject: [PATCH] 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 --- lib/sqlalchemy/testing/warnings.py | 2 ++ 1 file changed, 2 insertions(+) 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): -- 2.47.2