We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05a4eef commit 126f3ccCopy full SHA for 126f3cc
pandas/tests/test_flags.py
@@ -41,8 +41,8 @@ def test_getitem(self):
41
flags["allows_duplicate_labels"] = False
42
assert flags["allows_duplicate_labels"] is False
43
44
- with pytest.raises(KeyError):
+ with pytest.raises(KeyError, match="a"):
45
flags["a"]
46
47
- with pytest.raises(ValueError):
+ with pytest.raises(ValueError, match="a"):
48
flags["a"] = 10
0 commit comments