From 48a3771ec9ddeafde20c562e9152795fe3154e35 Mon Sep 17 00:00:00 2001 From: getzze Date: Tue, 28 Jan 2025 14:19:03 +0000 Subject: [PATCH] remove test for UserWarning because it is not triggered with scipy>=1.15.0 --- tests/test_stattest.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_stattest.py b/tests/test_stattest.py index 876249e..97ebe60 100644 --- a/tests/test_stattest.py +++ b/tests/test_stattest.py @@ -58,6 +58,5 @@ def test_wilcoxon_legacy_wilcox_pratt(self): @unittest.mock.patch('sys.stdout', new_callable=io.StringIO) def assert_print_pvalue(self, test, zero_method, expected_output_regex, mock_stdout): - with self.assertWarns(UserWarning): - test(self.x, self.y, zero_method=zero_method) + test(self.x, self.y, zero_method=zero_method) self.assertRegex(mock_stdout.getvalue(), expected_output_regex)