From 6af8015e50f309fc2068f19fb00d49fe904ea2e4 Mon Sep 17 00:00:00 2001 From: Angus Hollands Date: Fri, 9 Feb 2024 12:13:38 +0000 Subject: [PATCH] test: catch warnings on MacOS --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index cd2c7e58..f852e6ea 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,9 @@ filterwarnings = [ 'ignore:The frontend\.OptionParser class will be replaced:DeprecationWarning', 'ignore:The frontend\.Option class will be removed:DeprecationWarning', 'ignore:nodes\.Node\.traverse\(\) is obsoleted by Node\.findall\(\):PendingDeprecationWarning', + # jupyter-client throws this + 'ignore:datetime\.datetime\.utcfromtimestamp\(\) is deprecated:DeprecationWarning', + 'ignore:datetime\.datetime\.utcnow\(\) is deprecated:DeprecationWarning', ] [project]