Skip to content

TST: Parametrize in pandas/tests/internals/test_internals.py #32687

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 7 commits into from
Mar 19, 2020

Conversation

ShaharNaveh
Copy link
Member

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

Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

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

Yea looks like a nice cleanup

@WillAyd WillAyd added Clean Testing pandas testing functions or related to the test suite labels Mar 13, 2020
tm.assert_frame_equal(DataFrame(mgr), DataFrame(mgr2))

mgr = create_mgr("a: f8; a: i8")
@pytest.mark.parametrize("mgr_string", ["a,a,a:f8", "a: f8; a: i8"])
Copy link
Member

Choose a reason for hiding this comment

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

are the spaces meaningful?

"mgr_string, dtype",
[
("a: category", "i8"),
("a: category; b: category", "i8"),
Copy link
Member

Choose a reason for hiding this comment

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

heads up: this case is incorrect, as is the one on L558. xref #32519.

@jreback
Copy link
Contributor

jreback commented Mar 14, 2020

can you rebase

@jbrockmendel
Copy link
Member

##[error]./pandas/tests/internals/test_internals.py:558:5:F811:redefinition of unused 'test_interleave' from line 549

@jreback jreback added this to the 1.1 milestone Mar 19, 2020
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

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

lgtm. @jbrockmendel merge when ok.

@jbrockmendel
Copy link
Member

@MomIsBestFriend can you rebase and ping on green

@ShaharNaveh
Copy link
Member Author

Restarting azure as I am not sure why it failed.

@ShaharNaveh ShaharNaveh reopened this Mar 19, 2020
@ShaharNaveh
Copy link
Member Author

ping @jbrockmendel, the CI is green.

@jbrockmendel jbrockmendel merged commit 85e9e31 into pandas-dev:master Mar 19, 2020
@jbrockmendel
Copy link
Member

thanks @MomIsBestFriend

@ShaharNaveh ShaharNaveh deleted the TST-fact-inter branch March 19, 2020 17:54
SeeminSyed pushed a commit to CSCD01-team01/pandas that referenced this pull request Mar 22, 2020
…dev#32687)

* TST: Parametrize in pandas/tests/internals/test_internals.py

* Addressed lint issues

* Addressing lint issues

Co-authored-by: MomIsBestFriend <>
jbrockmendel pushed a commit to jbrockmendel/pandas that referenced this pull request Mar 23, 2020
…dev#32687)

* TST: Parametrize in pandas/tests/internals/test_internals.py

* Addressed lint issues

* Addressing lint issues

Co-authored-by: MomIsBestFriend <>
jbrockmendel pushed a commit to jbrockmendel/pandas that referenced this pull request Mar 25, 2020
…dev#32687)

* TST: Parametrize in pandas/tests/internals/test_internals.py

* Addressed lint issues

* Addressing lint issues

Co-authored-by: MomIsBestFriend <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants