Skip to content

Commit d6604ee

Browse files
committed
Added result and expected variables for both tests
1 parent a1c5fec commit d6604ee

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pandas/tests/indexing/test_loc.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3306,7 +3306,10 @@ def test_loc_setitem_matching_index(self):
33063306

33073307
# Test matching indices
33083308
s.loc[["a", "b"]] = s1
3309-
tm.assert_series_equal(s[["a", "b"]], s1)
3309+
3310+
result = s[["a", "b"]]
3311+
expected = s1
3312+
tm.assert_series_equal(result, expected)
33103313

33113314
# Test unmatched indices
33123315
s.loc[["a", "b"]] = s2

0 commit comments

Comments
 (0)