Skip to content

Commit 4d20f69

Browse files
TomAugspurgerAndrew Bui
authored and
Andrew Bui
committed
CI: Fixed deprecationWarning (pandas-dev#20489)
Closes pandas-dev#20479
1 parent cb30e3b commit 4d20f69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/extension/decimal/test_decimal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def test_series_constructor_with_same_dtype_ok():
134134

135135
def test_series_constructor_coerce_extension_array_to_dtype_raises():
136136
arr = DecimalArray([decimal.Decimal('10.0')])
137-
xpr = "Cannot specify a dtype 'int64' .* \('decimal'\)."
137+
xpr = r"Cannot specify a dtype 'int64' .* \('decimal'\)."
138138

139139
with tm.assert_raises_regex(ValueError, xpr):
140140
pd.Series(arr, dtype='int64')

0 commit comments

Comments
 (0)