14
0

Revert: tornado 5.1 breaks salt (boo#1101780)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tornado?expand=0&rev=50
This commit is contained in:
2018-07-19 07:35:04 +00:00
committed by Git OBS Bridge
parent 7bcde8ffea
commit 352f85d701
6 changed files with 74 additions and 18 deletions

View File

@@ -0,0 +1,14 @@
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,9 @@ def main():
# 3.5.2's PendingDeprecationWarning became a DeprecationWarning in 3.6.
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)