Skip to content

Commit 4f6d459

Browse files
authored
Merge pull request #168 from getzze/fix-test-wilcoxon
Remove test for UserWarning
2 parents 2bb0296 + 48a3771 commit 4f6d459

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_stattest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,5 @@ def test_wilcoxon_legacy_wilcox_pratt(self):
5858
@unittest.mock.patch('sys.stdout', new_callable=io.StringIO)
5959
def assert_print_pvalue(self, test, zero_method, expected_output_regex,
6060
mock_stdout):
61-
with self.assertWarns(UserWarning):
62-
test(self.x, self.y, zero_method=zero_method)
61+
test(self.x, self.y, zero_method=zero_method)
6362
self.assertRegex(mock_stdout.getvalue(), expected_output_regex)

0 commit comments

Comments
 (0)