-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
TST: move more series tests to test_arithmetic #19794
Conversation
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.
small comment. we have so many tests that unfortunately some of these test files are still big, but not sure can do much about this.
from pandas._libs.tslibs.period import IncompatibleFrequency | ||
|
||
import pandas as pd | ||
import pandas.util.testing as tm | ||
|
||
|
||
@pytest.fixture | ||
def tdser(): |
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.
add a doc-string
with pytest.raises(TypeError): | ||
vector - tdser | ||
|
||
# ------------------------------------------------------------------ |
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.
these are nice comments / breaks, use liberally (as you are doing here, but elsewhere as well)
ping when pushed on comment. |
Codecov Report
@@ Coverage Diff @@
## master #19794 +/- ##
==========================================
+ Coverage 91.61% 91.61% +<.01%
==========================================
Files 150 150
Lines 48887 48882 -5
==========================================
- Hits 44786 44782 -4
+ Misses 4101 4100 -1
Continue to review full report at Codecov.
|
Ping |
thanks! |
Doesn't overlap with other outstanding PRs.
Per usual, there is more that could be done, but we're doing this in pieces.
git diff upstream/master -u -- "*.py" | flake8 --diff