File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -237,21 +237,6 @@ def test_isna(self, data_missing):
237237 def test_fillna_no_op_returns_copy (self , data , request ):
238238 super ().test_fillna_no_op_returns_copy (data )
239239
240- def test_fillna_readonly (self , data_missing ):
241- # copy keyword is ignored by SparseArray.fillna
242- # -> copy=True vs False doesn't make a difference
243- data = data_missing .copy ()
244- data ._readonly = True
245-
246- result = data .fillna (data_missing [1 ])
247- assert result [0 ] == data_missing [1 ]
248- tm .assert_extension_array_equal (data , data_missing )
249-
250- # fillna(copy=False) is ignored -> so same result as above
251- result = data .fillna (data_missing [1 ], copy = False )
252- assert result [0 ] == data_missing [1 ]
253- tm .assert_extension_array_equal (data , data_missing )
254-
255240 @pytest .mark .xfail (reason = "Unsupported" )
256241 def test_fillna_series (self , data_missing ):
257242 # this one looks doable.
You can’t perform that action at this time.
0 commit comments