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 52eba9f commit 2f0fa1eCopy full SHA for 2f0fa1e
pandas/tests/series/indexing/test_indexing.py
@@ -396,8 +396,8 @@ def test_incorrect_assigment():
396
y = pd.Series(range(2))
397
398
msg = (
399
- "shape mismatch: value array of shape \(2,2\) could not be"
400
- " broadcast to indexing result of shape \(2,\)"
+ r"shape mismatch: value array of shape \(2,2\) could not be"
+ r" broadcast to indexing result of shape \(2,\)"
401
)
402
with pytest.raises(ValueError, match=msg):
403
y.loc[range(2)] = x
0 commit comments