Skip to content

Commit e91e27a

Browse files
committed
do not use isnull
1 parent 55f3d19 commit e91e27a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tests/libs/test_hashtable.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import pytest
66

77
from pandas._libs import hashtable as ht
8-
from pandas._libs.missing import checknull
98

109
import pandas as pd
1110
import pandas._testing as tm
@@ -340,7 +339,7 @@ def test_modes_with_nans():
340339
# thus we have 2 nans and 1 True
341340
modes = ht.mode_object(values, False)
342341
assert modes.size == 1
343-
assert checknull(modes[0])
342+
assert np.isnan(modes[0])
344343

345344

346345
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)