diff options
Diffstat (limited to 'dev-python/tornado/files/tornado-6.3.2-ignore-deprecationwarning.patch')
-rw-r--r-- | dev-python/tornado/files/tornado-6.3.2-ignore-deprecationwarning.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-python/tornado/files/tornado-6.3.2-ignore-deprecationwarning.patch b/dev-python/tornado/files/tornado-6.3.2-ignore-deprecationwarning.patch new file mode 100644 index 000000000000..7a6139173faf --- /dev/null +++ b/dev-python/tornado/files/tornado-6.3.2-ignore-deprecationwarning.patch @@ -0,0 +1,12 @@ +https://src.fedoraproject.org/rpms/python-tornado/raw/rawhide/f/Do-not-turn-DeprecationWarning-into-Exception.patch +--- a/tornado/test/runtests.py ++++ b/tornado/test/runtests.py +@@ -126,7 +126,6 @@ + # Tornado generally shouldn't use anything deprecated, but some of + # our dependencies do (last match wins). + warnings.filterwarnings("ignore", category=DeprecationWarning) +- warnings.filterwarnings("error", category=DeprecationWarning, module=r"tornado\..*") + warnings.filterwarnings("ignore", category=PendingDeprecationWarning) + warnings.filterwarnings( + "error", category=PendingDeprecationWarning, module=r"tornado\..*" + |