14
0
Todd R
2017-04-19 18:35:30 +00:00
committed by Git OBS Bridge
parent 49f03f55b8
commit f87f8fa1c7
6 changed files with 30 additions and 93 deletions

View File

@@ -1,16 +0,0 @@
Index: tornado-4.4.2/tornado/test/runtests.py
===================================================================
--- tornado-4.4.2.orig/tornado/test/runtests.py
+++ tornado-4.4.2/tornado/test/runtests.py
@@ -125,6 +125,11 @@ def main():
# Silence the warning until we can drop 3.5.[01].
warnings.filterwarnings("ignore", category=PendingDeprecationWarning,
message=".*legacy __aiter__ protocol")
+ warnings.filterwarnings("ignore", category=DeprecationWarning,
+ message=".*legacy __aiter__ protocol")
+ # simply ignore all async-related deprecations, for a rough support for python 3.6
+ warnings.filterwarnings("ignore", category=DeprecationWarning,
+ message="async")
logging.getLogger("tornado.access").setLevel(logging.CRITICAL)