Skip to content

Commit 2d491c3

Browse files
CI: Fixed deprecationWarning (#20489)
Closes #20479
1 parent 402ad45 commit 2d491c3

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)