Skip to content

REF: collect to_xarray tests #32877

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

Merged
merged 11 commits into from
Mar 22, 2020
Merged

Conversation

jbrockmendel
Copy link
Member

I'm split on where to put test_to_xarray. Since its testing one method, tests/generic/methods/ makes sense. BUT we could try to reserve that directory for tests that are nicely parametrized over Series/DataFrame, which these are not. Thoughts?

@jbrockmendel jbrockmendel added the Testing pandas testing functions or related to the test suite label Mar 21, 2020
@jreback jreback added this to the 1.1 milestone Mar 21, 2020
@jreback
Copy link
Contributor

jreback commented Mar 21, 2020

I would create pandas/tests/downstream and move pandas/tests/test_downstream.py to there along with this test file (name is good), maybe even move the xarray test to that (inside test_downstream.py)

@jreback
Copy link
Contributor

jreback commented Mar 21, 2020

ping on green.

@jbrockmendel
Copy link
Member Author

I would create pandas/tests/downstream and move pandas/tests/test_downstream.py to there along with this test file (name is good), maybe even move the xarray test to that (inside test_downstream.py)

I'll give this some thought. I kind of like test_downstream.py for the specific "dont break downstream" purpose it has no (just asked xarray folks to open a PR with a regression test thatll go there)

@jreback
Copy link
Contributor

jreback commented Mar 22, 2020

hmm needs a rebase

@jreback jreback merged commit 6db151a into pandas-dev:master Mar 22, 2020
@jreback
Copy link
Contributor

jreback commented Mar 22, 2020

thanks

@jbrockmendel jbrockmendel deleted the tst-generic-xarray branch March 22, 2020 20:58
SeeminSyed pushed a commit to CSCD01-team01/pandas that referenced this pull request Mar 22, 2020
* implement test_to_xarray

* dummy commit to force CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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