Skip to content

Commit 96e5148

Browse files
committed
Change error msg in test_sub_dti_dti
1 parent 5cf404c commit 96e5148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/arithmetic/test_datetime64.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2091,7 +2091,7 @@ def test_sub_dti_dti(self):
20912091
# different length raises ValueError
20922092
dti1 = date_range('20130101', periods=3)
20932093
dti2 = date_range('20130101', periods=4)
2094-
msg = 'cannot add indices of unequal length'
2094+
msg = 'Lengths must match to compare'
20952095
with pytest.raises(ValueError, match=msg):
20962096
dti1 - dti2
20972097

0 commit comments

Comments
 (0)