From: Ben Darnell Date: Sun, 20 Nov 2016 12:30:49 +0000 (+0800) Subject: Update warning config to fix tests on python 3.6 nightly X-Git-Tag: v4.5.0~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a391e126e7f277244c691f5057d4cdb97c1ba2e7;p=thirdparty%2Ftornado.git Update warning config to fix tests on python 3.6 nightly --- diff --git a/tornado/test/runtests.py b/tornado/test/runtests.py index f4dd46de3..1d6199f35 100644 --- a/tornado/test/runtests.py +++ b/tornado/test/runtests.py @@ -125,6 +125,9 @@ def main(): # Silence the warning until we can drop 3.5.[01]. warnings.filterwarnings("ignore", category=PendingDeprecationWarning, message=".*legacy __aiter__ protocol") + # 3.5.2's PendingDeprecationWarning became a DeprecationWarning in 3.6. + warnings.filterwarnings("ignore", category=DeprecationWarning, + message=".*legacy __aiter__ protocol") logging.getLogger("tornado.access").setLevel(logging.CRITICAL)