Skip to content

Commit 1236fc2

Browse files
committed
fix typing validation error
1 parent 5c3350c commit 1236fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/generic/test_finalize.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ def test_finalize_frame_series_name():
782782
lambda x: x.iloc[[True, True, False]],
783783
lambda x: x.loc["idxA"], # returns Series
784784
lambda x: x.loc[["idxA", "idxB"]],
785-
lambda x: x.loc["idxA":"idxB"],
785+
lambda x: x.loc[slice("idxA", "idxB")],
786786
lambda x: x.loc[[True, True, False]],
787787
lambda x: x.loc[
788788
pd.Series(

0 commit comments

Comments
 (0)