From 96b84e674cdda7d3d436fb8d6a3778f9121e7cda Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Tue, 13 Dec 2016 01:52:40 +0100 Subject: [PATCH] Add patch to the sources --- ...config-to-fix-tests-on-python-3.6-nightly.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 update-warning-config-to-fix-tests-on-python-3.6-nightly.patch diff --git a/update-warning-config-to-fix-tests-on-python-3.6-nightly.patch b/update-warning-config-to-fix-tests-on-python-3.6-nightly.patch new file mode 100644 index 0000000..405009d --- /dev/null +++ b/update-warning-config-to-fix-tests-on-python-3.6-nightly.patch @@ -0,0 +1,14 @@ +diff --git a/tornado/test/runtests.py b/tornado/test/runtests.py +index 526ae5d..36a841f 100644 +--- a/tornado/test/runtests.py ++++ b/tornado/test/runtests.py +@@ -124,6 +124,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) +