-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
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
Conversation
There was a problem hiding this 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
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"]) |
There was a problem hiding this comment.
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"), |
There was a problem hiding this comment.
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.
can you rebase |
##[error]./pandas/tests/internals/test_internals.py:558:5:F811:redefinition of unused 'test_interleave' from line 549 |
There was a problem hiding this 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.
@MomIsBestFriend can you rebase and ping on green |
Restarting azure as I am not sure why it failed. |
ping @jbrockmendel, the CI is green. |
thanks @MomIsBestFriend |
…dev#32687) * TST: Parametrize in pandas/tests/internals/test_internals.py * Addressed lint issues * Addressing lint issues Co-authored-by: MomIsBestFriend <>
…dev#32687) * TST: Parametrize in pandas/tests/internals/test_internals.py * Addressed lint issues * Addressing lint issues Co-authored-by: MomIsBestFriend <>
…dev#32687) * TST: Parametrize in pandas/tests/internals/test_internals.py * Addressed lint issues * Addressing lint issues Co-authored-by: MomIsBestFriend <>
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff