File ignore-py310-deprecation-warnings.patch of Package python-tornado6
Index: tornado-6.1/tornado/test/runtests.py
===================================================================
--- tornado-6.1.orig/tornado/test/runtests.py
+++ tornado-6.1/tornado/test/runtests.py
@@ -160,6 +160,18 @@ def main():
message="PY_SSIZE_T_CLEAN will be required",
)
+ # https://github.com/tornadoweb/tornado/issues/3033
+ warnings.filterwarnings(
+ "ignore",
+ category=DeprecationWarning,
+ message=r"ssl.*",
+ )
+ warnings.filterwarnings(
+ "ignore",
+ category=DeprecationWarning,
+ message="There is no current event loop",
+ )
+
logging.getLogger("tornado.access").setLevel(logging.CRITICAL)
define(