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 a3d9049 commit 256e344Copy full SHA for 256e344
pandas/tests/extension/test_arrow.py
@@ -3295,7 +3295,7 @@ def test_decimal_parse_raises():
3295
# GH 56984
3296
ser = pd.Series(["1.2345"], dtype=ArrowDtype(pa.string()))
3297
with pytest.raises(
3298
- pa.lib.ArrowInvalid, match="Rescaling Decimal128 value would cause data loss"
+ pa.lib.ArrowInvalid, match="Rescaling Decimal(128)? value would cause data loss"
3299
):
3300
ser.astype(ArrowDtype(pa.decimal128(1, 0)))
3301
0 commit comments