Skip to content

TST: split up tests/plotting/test_frame.py into subdir & modules #34769 #37538

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 58 commits into from
Closed

TST: split up tests/plotting/test_frame.py into subdir & modules #34769 #37538

wants to merge 58 commits into from

Conversation

Mikhaylov-yv
Copy link
Contributor

I moved the file to a new directory.
What is the best structure for this folder?

@jreback
Copy link
Contributor

jreback commented Oct 31, 2020

you could start with groupby, subplots, colors

just look for a grouping of tests that are common and move them. i would recommend merge master on this and can merge, then do followup PRs to extract.

@jreback jreback added Testing pandas testing functions or related to the test suite Visualization plotting labels Oct 31, 2020
@Mikhaylov-yv
Copy link
Contributor Author

@jreback OK thanks.

I think I figured out what to do with the tests.
But I didn't understand the merge conflict. The merge goes fine locally.

@jreback
Copy link
Contributor

jreback commented Oct 31, 2020

make sure to git pull upstream/master

of test_frame.py
to test_frame_color.py
@pep8speaks
Copy link

pep8speaks commented Nov 2, 2020

Hello @Mikhaylov-yv! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2020-11-02 17:32:53 UTC

of test_frame.py
to test_frame_groupby.py and test_frame_subplots.py
# Conflicts:
#	pandas/tests/plotting/frame/test_frame.py
@Mikhaylov-yv
Copy link
Contributor Author

Am I doing the right thing?

@jreback
Copy link
Contributor

jreback commented Nov 2, 2020

yes this looks fine. can you show the before / after test runs for this dir (make sure test counts don't change).

ping when ready. btw no need to do anymore in this PR, can followup with others. ping on green.

ivanovmg and others added 26 commits November 5, 2020 22:46
)

* BUG/REF: read_csv shouldn't close user-provided file handles

* get_handle: typing, returns is_wrapped, use dataclass, and make sure that all created handlers are returned

* remove unused imports

* added IOHandleArgs.close

* added IOArgs.close

* mostly comments

* move memory_map from TextReader to CParserWrapper

* moved IOArgs and IOHandles

* more comments

Co-authored-by: Jeff Reback <[email protected]>
…ate labels (#36814)

* DOC: add example & prose of slicing with labels when index has duplicate labels #36251

* DOC: proofread the sentence.

Co-authored-by: Jun Kudo <[email protected]>
"columns(s)" sounded odd, I believe it was supposed to be just "column(s)".
of test_frame.py
to test_frame_groupby.py, test_frame_subplots.py, test_frame_color.py
@Mikhaylov-yv
Copy link
Contributor Author

Mikhaylov-yv commented Nov 5, 2020

Oh no. I did something wrong.
excuse me

Probably better to create a new PR and delete this one?

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 Visualization plotting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TST: split up tests/plotting/test_frame.py into subdir & modules