Skip to content

Commit b2747a3

Browse files
committed
Test for previous commit
1 parent 17209f3 commit b2747a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/tests/indexing/test_multiindex.py

+4
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ def test_loc_getitem_series(self):
163163
result = x.loc[y1]
164164
tm.assert_series_equal(result, expected)
165165

166+
# GH15434
167+
result = x.loc[y.values]
168+
tm.assert_series_equal(result, expected)
169+
166170
empty = Series(data=[], dtype=np.float64)
167171
expected = Series([], index=MultiIndex(
168172
levels=index.levels, labels=[[], []], dtype=np.float64))

0 commit comments

Comments
 (0)