2017-04-19 18:36:40 +00:00
|
|
|
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
|
2017-11-30 10:00:26 +00:00
|
|
|
@@ -125,6 +125,9 @@ def main():
|
|
|
|
# 3.5.2's PendingDeprecationWarning became a DeprecationWarning in 3.6.
|
|
|
|
warnings.filterwarnings("ignore", category=DeprecationWarning,
|
2017-04-19 18:36:40 +00:00
|
|
|
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)
|
|
|
|
|