Skip to content

Commit cbf76eb

Browse files
committed
EA attribute specifying whether copy=False is ignored
1 parent b7325fa commit cbf76eb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pandas/tests/extension/base/missing.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ def test_fillna_readonly(self, data_missing):
137137
tm.assert_extension_array_equal(data, data_missing)
138138

139139
if self._supports_fillna_copy_false:
140-
# but with copy=False, this raises for EAs that respect the copy keyword
141140
with pytest.raises(ValueError, match="Cannot modify read-only array"):
142141
data.fillna(fill_value, copy=False)
143142
tm.assert_extension_array_equal(data, data_missing)

0 commit comments

Comments
 (0)