Add patch to the sources

This commit is contained in:
Charalampos Stratakis 2016-12-13 01:52:40 +01:00
parent c5f21213eb
commit 96b84e674c

View File

@ -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)