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

Tseries fixtures docstrings #21496

Merged
merged 11 commits into from
Jul 8, 2018

Conversation

ivergara
Copy link
Contributor

@ivergara ivergara commented Jun 15, 2018

@codecov
Copy link

codecov bot commented Jun 15, 2018

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #21496      +/-   ##
==========================================
- Coverage   91.93%   91.93%   -0.01%     
==========================================
  Files         159      160       +1     
  Lines       49733    49737       +4     
==========================================
+ Hits        45721    45724       +3     
- Misses       4012     4013       +1
Flag Coverage Δ
#multiple 90.3% <ø> (-0.01%) ⬇️
#single 41.99% <ø> (-0.01%) ⬇️
Impacted Files Coverage Δ
pandas/core/arrays/categorical.py 95.93% <0%> (-0.09%) ⬇️
pandas/core/groupby/groupby.py 92.65% <0%> (-0.02%) ⬇️
pandas/util/testing.py 85.33% <0%> (ø) ⬆️
pandas/core/indexes/category.py 97.01% <0%> (ø) ⬆️
pandas/core/groupby/categorical.py 95.45% <0%> (ø)
pandas/core/generic.py 96.21% <0%> (ø) ⬆️

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 04caa56...4ce5958. Read the comment docs.

@@ -4,4 +4,7 @@
@pytest.fixture(params=[None, 'UTC', 'Asia/Tokyo', 'US/Eastern',
'dateutil/Asia/Tokyo', 'dateutil/US/Pacific'])
def tz(request):
"""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so happy to have you remove all of the tz fixtures (that are marked repeated), and use the top-level tz_naive_fixture (you can add 'dateutil/Asia/Tokyo') to that as well. I think that should be fine. you will need to change the references in each file (where the fixture is now) in order to make this work.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also will I need to change the reference to the tz fixture to the tz_naive_fixture right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

@jreback jreback added Testing pandas testing functions or related to the test suite Docs Timezones Timezone data dtype labels Jun 15, 2018
Cleanup and standarization of tz handling across tests.
@pep8speaks
Copy link

pep8speaks commented Jul 5, 2018

Hello @ivergara! Thanks for updating the PR.

Cheers ! There are no PEP8 issues in this Pull Request. 🍻

Comment last updated on July 06, 2018 at 14:04 Hours UTC

@jbrockmendel
Copy link
Member

LGTM. Will merge this evening unless there's an objection.

@jreback jreback added this to the 0.24.0 milestone Jul 8, 2018
@jreback
Copy link
Contributor

jreback commented Jul 8, 2018

lgtm. merge away.

@jreback jreback merged commit 5380fcd into pandas-dev:master Jul 8, 2018
@jreback
Copy link
Contributor

jreback commented Jul 8, 2018

thanks!

@ivergara ivergara deleted the tseries-fixtures-docstrings branch July 9, 2018 08:49
@ivergara
Copy link
Contributor Author

ivergara commented Jul 9, 2018

Sure! Hope to keep contributing.

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
Docs Testing pandas testing functions or related to the test suite Timezones Timezone data dtype
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants