Skip to content

Commit a14f513

Browse files
committed
Fix broken tests RE: immutability error message
1 parent e317a70 commit a14f513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/index.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ def __hash__(self):
10551055
raise TypeError("unhashable type: %r" % type(self).__name__)
10561056

10571057
def __setitem__(self, key, value):
1058-
raise TypeError("Indexes do not support mutable operations")
1058+
raise TypeError("Index does not support mutable operations")
10591059

10601060
def __getitem__(self, key):
10611061
"""

0 commit comments

Comments
 (0)