Skip to content

Commit

Permalink
Fix unit test remove_na
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelvallat committed Jun 24, 2022
1 parent d8166ed commit 3d6a565
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pingouin/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,8 @@ def test_remove_na(self):
assert np.allclose(y_nan, [[6.0], [3.0], [2.0]])
# When y is None
remove_na(x, None, paired=False)
# When x or y is an empty list
# When y is an empty list
# See https://github.com/raphaelvallat/pingouin/issues/222
with pytest.raises(AssertionError):
remove_na(x=[], y=0)
with pytest.raises(AssertionError):
remove_na(x, y=[])

Expand Down

0 comments on commit 3d6a565

Please sign in to comment.