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)