Skip to content

Commit ba26308

Browse files
committed
update exception messages
1 parent 5459f13 commit ba26308

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/tests/scalar/timedelta/test_arithmetic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,6 +1218,7 @@ def test_ops_str_deprecated(box):
12181218
[
12191219
"ufunc 'divide' cannot use operands",
12201220
"Invalid dtype object for __floordiv__",
1221+
r"unsupported operand type\(s\) for /: 'int' and 'str'",
12211222
]
12221223
)
12231224
with pytest.raises(TypeError, match=msg):

0 commit comments

Comments
 (0)