From a093fb177d960e1f74ef52fd91d753b0dfed5476 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Tue, 23 Jan 2024 12:09:39 +0000 Subject: [PATCH] add new deprecation warnings for tornado tests --- pyproject.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a30f43a..46a5333 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,11 @@ addopts = [ markers = ["online"] filterwarnings = [ "error", - '''ignore:datetime\.datetime\.utcfromtimestamp\(\) is deprecated and scheduled for removal in a future version.*:DeprecationWarning''' + '''ignore:datetime\.datetime\.utcfromtimestamp\(\) is deprecated and scheduled for removal in a future version.*:DeprecationWarning''', + '''ignore:There is no current event loop:DeprecationWarning''', + '''ignore:make_current is deprecated; start the event loop first:DeprecationWarning''', + '''ignore:clear_current is deprecated:DeprecationWarning''', + '''ignore:the \(type, exc, tb\) signature of throw\(\) is deprecated, use the single-arg signature instead.:DeprecationWarning''', ] [tool.ruff]