Skip to content

Commit fcdaadb

Browse files
TomAugspurgerkornilova203
authored andcommitted
CI: Fixed deprecationWarning (pandas-dev#20489)
Closes pandas-dev#20479
1 parent 3fd81ad commit fcdaadb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/extension/decimal/test_decimal.py

+1-1
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)