14
0

Accepting request 546290 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/546290
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=65
This commit is contained in:
Tomáš Chvátal
2017-11-30 10:00:26 +00:00
committed by Git OBS Bridge
parent 775adde41b
commit 21c9ee96d6
6 changed files with 32 additions and 27 deletions

View File

@@ -2,12 +2,10 @@ 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,
@@ -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")
+ 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")