-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: parametrize and de-duplicate arithmetic tests #23240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hello @jbrockmendel! Thanks for submitting the PR.
|
|
||
def test_dti_radd_timestamp_raises(self): | ||
idx = DatetimeIndex(['2011-01-01', '2011-01-02']) | ||
msg = "cannot add DatetimeIndex and Timestamp" | ||
with tm.assert_raises_regex(TypeError, msg): | ||
Timestamp('2011-01-01') + idx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Decided that separating tests for __add__
vs __radd__
was overkill.
Codecov Report
@@ Coverage Diff @@
## master #23240 +/- ##
==========================================
+ Coverage 92.22% 92.22% +<.01%
==========================================
Files 169 169
Lines 50897 50899 +2
==========================================
+ Hits 46940 46942 +2
Misses 3957 3957
Continue to review full report at Codecov.
|
looks ok. can you merge master, and does this need to go before #22862 ? |
thanks! |
This is likely to be a sisyphean task...