From 09b58ec12f6184dd175dabb5f79b85f9878f178c Mon Sep 17 00:00:00 2001 From: Pey Lian Lim <2090236+pllim@users.noreply.github.com> Date: Thu, 18 Feb 2021 19:06:58 -0500 Subject: [PATCH 1/4] TST: Stop ignoring warnings --- setup.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 5132db0..1f24496 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,7 +6,6 @@ astropy_header = true #doctest_plus = disabled #text_file_format = rst xfail_strict = true -addopts = -p no:warnings [flake8] # E501: line too long From 907f8febb6ec7c5a5d1ade78d5f3509ecda22272 Mon Sep 17 00:00:00 2001 From: Pey Lian Lim <2090236+pllim@users.noreply.github.com> Date: Fri, 19 Feb 2021 10:51:06 -0500 Subject: [PATCH 2/4] TST: Ignore some warnings, turn the rest into error --- setup.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.cfg b/setup.cfg index 1f24496..3be8acd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,6 +6,10 @@ astropy_header = true #doctest_plus = disabled #text_file_format = rst xfail_strict = true +filterwarnings = + error + ignore::DeprecationWarning:ginga + ignore:is empty:UserWarning [flake8] # E501: line too long From 72b6ce3e2f054d6df2ef58c56ebf2c1878d7ea30 Mon Sep 17 00:00:00 2001 From: Pey Lian Lim <2090236+pllim@users.noreply.github.com> Date: Fri, 19 Feb 2021 11:04:49 -0500 Subject: [PATCH 3/4] TST: Ignore numpy size warning --- setup.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.cfg b/setup.cfg index 3be8acd..0619342 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,6 +8,8 @@ astropy_header = true xfail_strict = true filterwarnings = error + ignore:numpy.ufunc size changed:RuntimeWarning + ignore:numpy.ndarray size changed:RuntimeWarning ignore::DeprecationWarning:ginga ignore:is empty:UserWarning From f30ba42cd032f129b8c0eb58a525cbeeb56d2841 Mon Sep 17 00:00:00 2001 From: Pey Lian Lim <2090236+pllim@users.noreply.github.com> Date: Fri, 19 Feb 2021 11:11:24 -0500 Subject: [PATCH 4/4] TST: Fix ignore text --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 0619342..31bb032 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,7 +11,7 @@ filterwarnings = ignore:numpy.ufunc size changed:RuntimeWarning ignore:numpy.ndarray size changed:RuntimeWarning ignore::DeprecationWarning:ginga - ignore:is empty:UserWarning + ignore:Marker set named:UserWarning [flake8] # E501: line too long