We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f7430f commit 71a0c0fCopy full SHA for 71a0c0f
pandas/tests/arithmetic/test_timedelta64.py
@@ -320,7 +320,10 @@ def test_subtraction_ops(self):
320
with pytest.raises(TypeError, match=msg):
321
td - dt
322
323
- msg = "(bad|unsupported) operand type for unary"
+ msg = (
324
+ r"TypeError: unsupported operand type\(s\) "
325
+ "for -: 'DatetimeArray' and 'Timedelta'"
326
+ )
327
328
td - dti
329
0 commit comments