Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pandas/tests/test_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def test_getitem(self):
flags["allows_duplicate_labels"] = False
assert flags["allows_duplicate_labels"] is False

with pytest.raises(KeyError):
with pytest.raises(KeyError, match="a"):
flags["a"]

with pytest.raises(ValueError):
with pytest.raises(ValueError, match="a"):
flags["a"] = 10