diff --git a/pandas/tests/arrays/floating/test_arithmetic.py b/pandas/tests/arrays/floating/test_arithmetic.py index ec7419d6346a8..f207540a76f2a 100644 --- a/pandas/tests/arrays/floating/test_arithmetic.py +++ b/pandas/tests/arrays/floating/test_arithmetic.py @@ -162,7 +162,10 @@ def test_error_invalid_values(data, all_arithmetic_operators): "not all arguments converted during string formatting", "can't multiply sequence by non-int of type 'float'", "ufunc 'subtract' cannot use operands with types dtype", - r"ufunc 'add' cannot use operands with types dtype\('