Skip to content

Commit 79de764

Browse files
committed
For squash
1 parent 6f50d87 commit 79de764

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/arrays/sparse/test_array.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,8 @@ def test_getitem_bool_sparse_array(self):
266266
exp = SparseArray([np.nan, 3, 5])
267267
tm.assert_sp_array_equal(res, exp)
268268

269-
# GH 45110
269+
# GH 45110
270+
def test_getitem_bool_sparse_array_as_comparison(self):
270271
arr = SparseArray([1, 2, 3, 4, np.nan, np.nan], fill_value=np.nan)
271272
res = arr[arr > 2]
272273
exp = SparseArray([3.0, 4.0], fill_value=np.nan)

0 commit comments

Comments
 (0)