Skip to content

CLN: Refactor tests and delete duplicates #40181

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 2 commits into from
Mar 4, 2021

Conversation

phofl
Copy link
Member

@phofl phofl commented Mar 2, 2021

  • Ensure all linting tests pass, see here for how to run them

Deleted a few duplicates and parametrized

@phofl phofl added Clean Testing pandas testing functions or related to the test suite labels Mar 2, 2021
@@ -1598,6 +1598,14 @@ def indexer_sl(request):
return request.param


@pytest.fixture(params=[tm.at, tm.loc])
def indexer_sa(request):
Copy link
Member

Choose a reason for hiding this comment

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

maybe indexer_al or indexer_la?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok with me, added the s because of the setitem

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah I would ideally make these a bit more descriptive (all of them), at the expense of slightyl increasing length :-> (but let's do this as a followon).

Copy link
Member Author

Choose a reason for hiding this comment

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

Will put up something after this is merged

@jreback jreback added this to the 1.3 milestone Mar 2, 2021
@jreback jreback merged commit 5d4cf66 into pandas-dev:master Mar 4, 2021
@jreback
Copy link
Contributor

jreback commented Mar 4, 2021

thanks @phofl

@phofl phofl deleted the CLN_refactor_tests branch March 4, 2021 21:55
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.

3 participants