From 4a5a494c490f1d8f64ab084a1c8f74f620c7e0d3 Mon Sep 17 00:00:00 2001 From: Hannu Parviainen Date: Sun, 1 Dec 2024 15:41:01 +0000 Subject: [PATCH] - Ignoring "ResourceWarning"s in pytest config. These were raised in Python 3.11 for tests that tried to download a nonexistent file even when the URLError was caught correctly. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 41bd7cd..a4c92b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -78,6 +78,7 @@ filterwarnings = [ "ignore:Can\\'t import specreduce_data package", # Python 3.12 warning from dateutil imported by matplotlib "ignore:.*utcfromtimestamp:DeprecationWarning", + "ignore:.*unclosed