Skip to content

Commit 82466c9

Browse files
committed
add gh number
1 parent 8ecc92f commit 82466c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/tests/indexes/multi/test_names.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ def test_copy_names():
7575
assert multi_idx.names == ["MyName1", "MyName2"]
7676
assert multi_idx3.names == ["NewName1", "NewName2"]
7777

78+
# gh-35592
7879
with pytest.raises(ValueError, match="Length of new names must be 2, got 1"):
7980
multi_idx.copy(names=["mario"])
8081

0 commit comments

Comments
 (0)