2019-06-03 10:17:32 +00:00
|
|
|
From 58f264d25c9dc427733a6a72fedc7b0e3b9c8e06 Mon Sep 17 00:00:00 2001
|
2019-05-16 13:27:45 +00:00
|
|
|
From: Lumir Balhar <lbalhar@redhat.com>
|
|
|
|
Date: Thu, 16 May 2019 13:50:14 +0200
|
|
|
|
Subject: [PATCH] Do not turn DeprecationWarning into Exception
|
|
|
|
|
|
|
|
---
|
2019-06-03 10:17:32 +00:00
|
|
|
tornado/test/runtests.py | 1 -
|
|
|
|
1 file changed, 1 deletion(-)
|
2019-05-16 13:27:45 +00:00
|
|
|
|
|
|
|
diff --git a/tornado/test/runtests.py b/tornado/test/runtests.py
|
2019-06-03 10:17:32 +00:00
|
|
|
index dab76a2..117fd1c 100644
|
2019-05-16 13:27:45 +00:00
|
|
|
--- a/tornado/test/runtests.py
|
|
|
|
+++ b/tornado/test/runtests.py
|
2019-06-03 10:17:32 +00:00
|
|
|
@@ -124,7 +124,6 @@ def main():
|
2019-05-16 13:27:45 +00:00
|
|
|
# Tornado generally shouldn't use anything deprecated, but some of
|
|
|
|
# our dependencies do (last match wins).
|
|
|
|
warnings.filterwarnings("ignore", category=DeprecationWarning)
|
2019-06-03 10:17:32 +00:00
|
|
|
- warnings.filterwarnings("error", category=DeprecationWarning, module=r"tornado\..*")
|
2019-05-16 13:27:45 +00:00
|
|
|
warnings.filterwarnings("ignore", category=PendingDeprecationWarning)
|
2019-06-03 10:17:32 +00:00
|
|
|
warnings.filterwarnings(
|
|
|
|
"error", category=PendingDeprecationWarning, module=r"tornado\..*"
|
2019-05-16 13:27:45 +00:00
|
|
|
--
|
|
|
|
2.21.0
|
|
|
|
|