Skip to content
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

Collect datetime64 and PeriodDtype arithmetic tests #22237

Merged
merged 7 commits into from
Aug 8, 2018

Conversation

jbrockmendel
Copy link
Member

As suggested, these are split by dtype in a new tests/arithmetic directory.

Started parametrizing a few of these over box classes, but for the most part this is just collecting tests from their existing locations. There is going to be a lot of parametrization and de-duplication coming up.

Holding off on moving the existing timedelta64-dtype tests until #22163 is handled to avoid merge conflict.

@codecov
Copy link

codecov bot commented Aug 8, 2018

Codecov Report

Merging #22237 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #22237      +/-   ##
==========================================
+ Coverage   92.06%   92.07%   +<.01%     
==========================================
  Files         169      169              
  Lines       50698    50698              
==========================================
+ Hits        46676    46680       +4     
+ Misses       4022     4018       -4
Flag Coverage Δ
#multiple 90.48% <ø> (ø) ⬆️
#single 42.32% <ø> (ø) ⬆️
Impacted Files Coverage Δ
pandas/util/testing.py 85.9% <0%> (+0.2%) ⬆️
pandas/core/arrays/period.py 91.98% <0%> (+0.76%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 737b329...7ab3305. Read the comment docs.

@jreback jreback added Testing pandas testing functions or related to the test suite Datetime Datetime data dtype Period Period data type labels Aug 8, 2018
@jreback jreback added this to the 0.24.0 milestone Aug 8, 2018
@jreback jreback merged commit ed35aef into pandas-dev:master Aug 8, 2018
@jreback
Copy link
Contributor

jreback commented Aug 8, 2018

thanks.

thought was moving pandas/tests/test_arithmetic.py as well?

maybe ought to move some of the fixtures to the top-level conftest

@jbrockmendel jbrockmendel deleted the arith_tests5 branch August 8, 2018 15:47
@jbrockmendel
Copy link
Member Author

thought was moving pandas/tests/test_arithmetic.py as well?

That's coming up, but I decided to wait on that until after #22163 to avoid merge conflicts

Sup3rGeo pushed a commit to Sup3rGeo/pandas that referenced this pull request Oct 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Datetime Datetime data dtype Period Period data type Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants