Skip to content

Commit 1862f27

Browse files
committed
test
1 parent 73ee7e1 commit 1862f27

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pandas/tests/indexes/test_numpy_compat.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,7 @@ def test_elementwise_comparison_warning():
118118
# this test.
119119
idx = Index([1, 2])
120120
with tm.assert_produces_warning(FutureWarning, check_stacklevel=False):
121-
idx == "a"
121+
result = idx == "a"
122+
123+
expected = np.array([False, False])
124+
tm.assert_numpy_array_equal(result, expected)

0 commit comments

Comments
 (0)