Skip to content

Commit

Permalink
Update test_sparse.py
Browse files Browse the repository at this point in the history
`test_fillna_no_op_returns_copy` now works for all cases in Pandas 3.0.0 without special casing.

Signed-off-by: Michael Tiemann <[email protected]>
  • Loading branch information
MichaelTiemannOSC committed Mar 22, 2024
1 parent 4dc3bea commit 4e273fa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pandas/tests/extension/test_sparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,6 @@ def test_isna(self, data_missing):
tm.assert_equal(sarr.isna(), expected)

def test_fillna_no_op_returns_copy(self, data, request):
# `data` never contains complex numbers in these tests
if np.isnan(data.fill_value):
request.applymarker(
pytest.mark.xfail(reason="returns array with different fill value")
)
super().test_fillna_no_op_returns_copy(data)

@pytest.mark.xfail(reason="Unsupported")
Expand Down

0 comments on commit 4e273fa

Please sign in to comment.