Skip to content

Commit 1b82be3

Browse files
committed
Revert
1 parent 29ee20e commit 1b82be3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tests/frame/methods/test_to_dict_of_blocks.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ def test_to_dict_of_blocks_item_cache():
3939

4040
df._to_dict_of_blocks()
4141

42-
values = ser.values
4342
with pytest.raises(ValueError, match="read-only"):
44-
values[0] = "foo"
43+
ser.values[0] = "foo"
4544

4645

4746
def test_set_change_dtype_slice():

0 commit comments

Comments
 (0)