We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 402ad45 commit 2d491c3Copy full SHA for 2d491c3
pandas/tests/extension/decimal/test_decimal.py
@@ -134,7 +134,7 @@ def test_series_constructor_with_same_dtype_ok():
134
135
def test_series_constructor_coerce_extension_array_to_dtype_raises():
136
arr = DecimalArray([decimal.Decimal('10.0')])
137
- xpr = "Cannot specify a dtype 'int64' .* \('decimal'\)."
+ xpr = r"Cannot specify a dtype 'int64' .* \('decimal'\)."
138
139
with tm.assert_raises_regex(ValueError, xpr):
140
pd.Series(arr, dtype='int64')
0 commit comments