We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb8b349 commit 3708f38Copy full SHA for 3708f38
pandas/tests/indexing/interval/test_interval.py
@@ -65,10 +65,10 @@ def test_non_matching(self):
65
66
# this is a departure from our current
67
# indexing scheme, but simpler
68
- with pytest.raises(KeyError, match="^\[-1\]$"):
+ with pytest.raises(KeyError, match=r"^\[-1\]$"):
69
s.loc[[-1, 3, 4, 5]]
70
71
72
s.loc[[-1, 3]]
73
74
@pytest.mark.arm_slow
0 commit comments