Skip to content

Commit 13bf3de

Browse files
committed
TST: Add test of isna evaluation with ambiguous typed list
1 parent 0fe864b commit 13bf3de

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pandas/tests/dtypes/test_missing.py

+5
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,11 @@ def test_isna_lists(self):
118118
exp = np.array([False, False])
119119
tm.assert_numpy_array_equal(result, exp)
120120

121+
# GH20675
122+
result = isna([np.NaN, 'world'])
123+
exp = np.array([True, False])
124+
tm.assert_numpy_array_equal(result, exp)
125+
121126
def test_isna_nat(self):
122127
result = isna([NaT])
123128
exp = np.array([True])

0 commit comments

Comments
 (0)