Skip to content

Commit 3d6a565

Browse files
committed
Fix unit test remove_na
1 parent d8166ed commit 3d6a565

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pingouin/tests/test_utils.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,8 @@ def test_remove_na(self):
149149
assert np.allclose(y_nan, [[6.0], [3.0], [2.0]])
150150
# When y is None
151151
remove_na(x, None, paired=False)
152-
# When x or y is an empty list
152+
# When y is an empty list
153153
# See https://github.com/raphaelvallat/pingouin/issues/222
154-
with pytest.raises(AssertionError):
155-
remove_na(x=[], y=0)
156154
with pytest.raises(AssertionError):
157155
remove_na(x, y=[])
158156

0 commit comments

Comments
 (0)