-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
TST: add arithmetic operators fixture #21033
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
small work on this. |
Codecov Report
@@ Coverage Diff @@
## master #21033 +/- ##
==========================================
+ Coverage 91.82% 91.82% +<.01%
==========================================
Files 153 153
Lines 49502 49502
==========================================
+ Hits 45455 45457 +2
+ Misses 4047 4045 -2
Continue to review full report at Codecov.
|
dt2.iloc[2] = np.nan | ||
td1 = Series(timedelta_range('1 days 1 min', periods=5, freq='H')) | ||
td2 = td1.copy() | ||
td2.iloc[1] = np.nan |
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.
Is this missing a check for dt2
and td2
?
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.
fixed
pandas/conftest.py
Outdated
@pytest.fixture(params=_all_arithmetic_operators) | ||
def all_arithmetic_operators(request): | ||
""" | ||
Fixture for common arithmetic operations |
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.
Maybe say that these are the dunder names? Otherwise unclear whether it's the like __div__
or div
or operator.div
.
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.
fixed
No description provided.