Skip to content

Commit 7808f35

Browse files
committed
Another test
1 parent bd36fa5 commit 7808f35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/frame/indexing/test_indexing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,7 @@ def test_type_error_multiindex(self):
12071207
# See gh-12218
12081208
mi = MultiIndex.from_product([["x", "y"], [0, 1]], names=[None, "c"])
12091209
dg = DataFrame(
1210-
[[1, 1, 2, 2], [3, 3, 4, 4]], columns=mi, index=Index([0, 1], name="i")
1210+
[[1, 1, 2, 2], [3, 3, 4, 4]], columns=mi, index=Index(range(2), name="i")
12111211
)
12121212
with pytest.raises(InvalidIndexError, match="slice"):
12131213
dg[:, 0]

0 commit comments

Comments
 (0)