Skip to content

TST/CLN: Use more frame_or_series fixture #48926

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 3 commits into from
Oct 4, 2022

Conversation

mroeschke
Copy link
Member

@mroeschke mroeschke added Testing pandas testing functions or related to the test suite Clean labels Oct 3, 2022
@mroeschke mroeschke added this to the 1.6 milestone Oct 3, 2022
@@ -113,14 +113,13 @@ def test_add_series_with_extension_array(self, data):
expected = pd.Series(data + data)
self.assert_series_equal(result, expected)

@pytest.mark.parametrize("box", [pd.Series, pd.DataFrame])
Copy link
Member

Choose a reason for hiding this comment

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

im on board with this, but in the past @jorisvandenbossche has objected bc it would require library authors to re-implement the fixture

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah good point. I didn't realize this was a base extension test so I'll exclude this one.

Copy link
Member

@jbrockmendel jbrockmendel left a comment

Choose a reason for hiding this comment

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

LGTM

@mroeschke mroeschke merged commit e25aa9d into pandas-dev:main Oct 4, 2022
@mroeschke mroeschke deleted the tst/cln/frame_or_series branch October 4, 2022 23:05
@mroeschke mroeschke modified the milestones: 1.6, 2.0 Oct 13, 2022
noatamir pushed a commit to noatamir/pandas that referenced this pull request Nov 9, 2022
* TST/CLN: Use more frame_or_series fixture

* Revert for base ext tests
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.

2 participants