-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: Test cleanup, parametrization for datetime64 arithmetic tests #23681
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 updating the PR.
Comment last updated on November 14, 2018 at 01:59 Hours UTC |
Codecov Report
@@ Coverage Diff @@
## master #23681 +/- ##
==========================================
+ Coverage 92.25% 92.25% +<.01%
==========================================
Files 161 161
Lines 51383 51385 +2
==========================================
+ Hits 47404 47406 +2
Misses 3979 3979
Continue to review full report at Codecov.
|
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.
just a couple of nitpicks, most can be done later.
msg = ('Frequency must be positive, because it' ' represents span: 0M') | ||
with pytest.raises(ValueError, match=msg): | ||
Period('2011-01', freq='0M') | ||
|
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 parametrize next pass (and maybe split to 2 tests, working and error condtiions)
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.
Yah, I've got another branch focusing more closely on the scalar tests, will work this in there.
assert i1.freq == offsets.Minute() | ||
assert i1.freqstr == 'T' | ||
|
||
def test_period_deprecated_freq(self): |
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 parametrize next pass
Possible segfault in test_rank? I think this was changed s few days ago |
gentle ping |
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.
+1. Will merge later today to give @jreback a chance to look if he wants.
thanks @jbrockmendel seems 2.7 build is failing on last merge @TomAugspurger ? |
That's the rank segfault being tracked in a separate issue. Will look into
it today.
…On Fri, Nov 16, 2018 at 10:24 AM Jeff Reback ***@***.***> wrote:
thanks @jbrockmendel <https://github.com/jbrockmendel>
seems 2.7 build is failing on last merge @TomAugspurger
<https://github.com/TomAugspurger> ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#23681 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQHIv1geBXF8zXO_iQPIUOU5EJ6y6GAks5uvuapgaJpZM4Yc3ty>
.
|
Avoids overlap with #23642.