-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
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
Conversation
mroeschke
commented
Oct 3, 2022
- Tests added and passed if fixing a bug or adding a new feature
- All code checks passed.
pandas/tests/extension/base/ops.py
Outdated
@@ -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]) |
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.
im on board with this, but in the past @jorisvandenbossche has objected bc it would require library authors to re-implement the fixture
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.
Ah good point. I didn't realize this was a base extension test so I'll exclude this one.
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
* TST/CLN: Use more frame_or_series fixture * Revert for base ext tests