UPdate patch
This commit is contained in:
parent
c7e0b2e620
commit
dab5687dce
@ -1,17 +1,7 @@
|
|||||||
From 58f264d25c9dc427733a6a72fedc7b0e3b9c8e06 Mon Sep 17 00:00:00 2001
|
diff -Nur tornado-6.0.4/tornado/test/runtests.py tornado-6.0.4-new/tornado/test/runtests.py
|
||||||
From: Lumir Balhar <lbalhar@redhat.com>
|
--- tornado-6.0.4/tornado/test/runtests.py 2020-03-02 20:21:37.000000000 +0100
|
||||||
Date: Thu, 16 May 2019 13:50:14 +0200
|
+++ tornado-6.0.4-new/tornado/test/runtests.py 2020-09-14 09:21:31.818678680 +0200
|
||||||
Subject: [PATCH] Do not turn DeprecationWarning into Exception
|
@@ -124,7 +124,6 @@
|
||||||
|
|
||||||
---
|
|
||||||
tornado/test/runtests.py | 1 -
|
|
||||||
1 file changed, 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/tornado/test/runtests.py b/tornado/test/runtests.py
|
|
||||||
index dab76a2..117fd1c 100644
|
|
||||||
--- a/tornado/test/runtests.py
|
|
||||||
+++ b/tornado/test/runtests.py
|
|
||||||
@@ -124,7 +124,6 @@ def main():
|
|
||||||
# Tornado generally shouldn't use anything deprecated, but some of
|
# Tornado generally shouldn't use anything deprecated, but some of
|
||||||
# our dependencies do (last match wins).
|
# our dependencies do (last match wins).
|
||||||
warnings.filterwarnings("ignore", category=DeprecationWarning)
|
warnings.filterwarnings("ignore", category=DeprecationWarning)
|
||||||
@ -19,6 +9,3 @@ index dab76a2..117fd1c 100644
|
|||||||
warnings.filterwarnings("ignore", category=PendingDeprecationWarning)
|
warnings.filterwarnings("ignore", category=PendingDeprecationWarning)
|
||||||
warnings.filterwarnings(
|
warnings.filterwarnings(
|
||||||
"error", category=PendingDeprecationWarning, module=r"tornado\..*"
|
"error", category=PendingDeprecationWarning, module=r"tornado\..*"
|
||||||
--
|
|
||||||
2.21.0
|
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ Source0: %{pypi_source}
|
|||||||
|
|
||||||
# Do not turn DeprecationWarning in tornado module into Exception
|
# Do not turn DeprecationWarning in tornado module into Exception
|
||||||
# fixes FTBFS with Python 3.8
|
# fixes FTBFS with Python 3.8
|
||||||
#Patch1: Do-not-turn-DeprecationWarning-into-Exception.patch
|
Patch1: Do-not-turn-DeprecationWarning-into-Exception.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user