Skip to content

separate DTI, Timestamp, Series, DataFrame, tslibs timezones tests #19504

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

Closed
wants to merge 1 commit into from

Conversation

jbrockmendel
Copy link
Member

Phew, this is a big one. test_timezones has a ton of redundant tests scattered about, many of which are in classes that cause them to incorrectly get run twice. This separates them by what class they are testing, with (for now at least) to_datetime and date_range getting their own categories.

There are a ton of DTI.tz_localize tests. This splits some of them up and tries to name them helpfully, but there is going to have to be another pass. I also expect that there are tests for DTI.tz_localize and DTI.tz_convert elsewhere in tests.indexes.datetimes that we will want to centralize. Ditto for test_timestamps.

Finally this separates out a small subset of tests that are specifically testing tslibs (not including Timestamp)

LMK if this should be split into smaller pieces for easier review.

  • closes #xxxx
  • tests added / passed
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

@jreback
Copy link
Contributor

jreback commented Feb 2, 2018

split

@jreback
Copy link
Contributor

jreback commented Feb 4, 2018

better in pieces

@jreback jreback closed this Feb 4, 2018
jreback pushed a commit that referenced this pull request Feb 4, 2018
@jbrockmendel jbrockmendel deleted the tztests2 branch February 4, 2018 16:40
harisbal pushed a commit to harisbal/pandas that referenced this pull request Feb 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants