Skip to content

Commit 9912207

Browse files
committed
Fix failing test
1 parent 37f4b24 commit 9912207

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/indexing/test_loc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ def test_loc_setitem_frame_with_reindex(self, using_array_manager):
598598
if using_array_manager:
599599
# TODO(ArrayManager) with "split" path, we still overwrite the column
600600
# and therefore don't take the order of the indexer into account
601-
ser = Series([1, 2, 3], index=[3, 5, 4], dtype="int64")
601+
ser = Series([2, 3, 1], index=[3, 5, 4], dtype="int64")
602602
expected = DataFrame({"A": ser})
603603
tm.assert_frame_equal(df, expected)
604604

@@ -621,7 +621,7 @@ def test_loc_setitem_frame_with_inverted_slice(self):
621621
tm.assert_frame_equal(df, expected)
622622

623623
# TODO(ArrayManager) "split" path overwrites column and therefore don't take
624-
# the order of the indexer into account
624+
# the dtype of the underlying object into account
625625
@td.skip_array_manager_not_yet_implemented
626626
def test_loc_setitem_empty_frame(self):
627627
# GH#6252 setting with an empty frame

0 commit comments

Comments
 (0)