-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
Separate out arithmetic tests for datetimelike indexes #18049
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.
can you show the before & after number of tests fo r the affected files (to make sure not missing any). a couple of comments.
tm.assert_index_equal(result2, result3) | ||
|
||
|
||
# FIXME: This was moved from `test_tools`. It belongs in scalar tests |
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.
so let's move it there
assert result.freq is None | ||
|
||
|
||
# FIXME: This came from `test_timedelta`, does not appear to have |
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.
the class names came from a previous round of moving tests, you can remove/rename them if it doesn't make sense (in fact I generally don't like classes for organizing , and much prefer separate well-named files, changing this is out of scope for this PR). This plays nicer with pytest.
Looking at tests.indexes: 3824 under PR, 3829 under master. Removal of duplicate Julian tests accounts for the difference |
From Travis log:
No idea if the buffer mismatches are related to the TestClipboard error. The latter has shown up a handful of times and usually goes away with re-running the CI. |
Codecov Report
@@ Coverage Diff @@
## master #18049 +/- ##
==========================================
- Coverage 91.24% 91.23% -0.02%
==========================================
Files 163 163
Lines 50114 50114
==========================================
- Hits 45729 45720 -9
- Misses 4385 4394 +9
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #18049 +/- ##
==========================================
- Coverage 91.24% 91.23% -0.02%
==========================================
Files 163 163
Lines 50114 50114
==========================================
- Hits 45729 45720 -9
- Misses 4385 4394 +9
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #18049 +/- ##
==========================================
- Coverage 91.24% 91.23% -0.02%
==========================================
Files 163 163
Lines 50114 50114
==========================================
- Hits 45729 45720 -9
- Misses 4385 4394 +9
Continue to review full report at Codecov.
|
the clipboard tests are orthogonal to this. They fail occasionally, a restart of the job usually fixes. However the is_bool_array is faulting somewhere in cython. |
thanks! |
As discussed... somewhere. I'll find the reference tomorrow.
This is about as close as I could get to pure cut/paste. There are a few notes to sprinkle in about things to clean up in a follow-up.
In a couple places this wraps some string literals to make folding easier.