mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-03 13:27:28 -08:00
- Skip tests marked as skipOnTravis (timing sensitive) - Explicitly set NO_NETWORK too to avoid network tests - Don't treat DeprecationWarning as fatal for tests (grabbed from Fedora) Signed-off-by: Sam James <sam@gentoo.org>
13 lines
656 B
Diff
13 lines
656 B
Diff
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\..*"
|
|
|