From a5c633cbcace57abe957b734d59edf51636ddf75 Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Thu, 29 Jun 2023 17:39:30 -0400 Subject: [PATCH 1/2] TST: Ignore DeprecationWarning from asteval. For example https://github.com/newville/asteval/issues/120 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 3d1023b832..e0502c4ba0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -137,6 +137,7 @@ filterwarnings = [ "ignore::DeprecationWarning:bqscales", "ignore::DeprecationWarning:traittypes", "ignore::DeprecationWarning:voila", + "ignore::DeprecationWarning:asteval", "ignore:::specutils.spectra.spectrum1d", ] From 7f3842660f974ff58941d0ad4b1cb1087566c11b Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Thu, 29 Jun 2023 17:56:28 -0400 Subject: [PATCH 2/2] Also ignore FutureWarning from asteval --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index e0502c4ba0..08a722738e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -138,6 +138,7 @@ filterwarnings = [ "ignore::DeprecationWarning:traittypes", "ignore::DeprecationWarning:voila", "ignore::DeprecationWarning:asteval", + "ignore::FutureWarning:asteval", "ignore:::specutils.spectra.spectrum1d", ]