Skip to content

Commit d74f501

Browse files
Update pandas/tests/indexes/common.py
Co-Authored-By: Simon Hawkins <[email protected]>
1 parent d38cc26 commit d74f501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/indexes/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ def test_getitem_2d_deprecated(self):
884884

885885
assert isinstance(res, np.ndarray), type(res)
886886

887-
def test_contains_requires_hashable(self):
887+
def test_contains_requires_hashable_raises(self):
888888
idx = self.create_index()
889889
with pytest.raises(TypeError, match="unhashable type"):
890890
[] in idx

0 commit comments

Comments
 (0)