Skip to content

Commit 4e273fa

Browse files
Update test_sparse.py
`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]>
1 parent 4dc3bea commit 4e273fa

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pandas/tests/extension/test_sparse.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,6 @@ def test_isna(self, data_missing):
235235
tm.assert_equal(sarr.isna(), expected)
236236

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

245240
@pytest.mark.xfail(reason="Unsupported")

0 commit comments

Comments
 (0)