Skip to content

fix pylint bad-super-call #48896

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 6 commits into from
Oct 6, 2022
Merged

Conversation

soumilbaldota
Copy link
Contributor

@MarcoGorelli MarcoGorelli self-requested a review September 30, 2022 19:52
@mroeschke mroeschke added the Code Style Code style, linting, code_checks label Oct 3, 2022
Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks @soumilbaldota

@@ -159,7 +159,7 @@ class TestConstructors(BaseJSON, base.BaseConstructorsTests):
@pytest.mark.xfail(reason="not implemented constructor from dtype")
def test_from_dtype(self, data):
# construct from our dtype & string dtype
super(self).test_from_dtype(data)
Copy link
Member

Choose a reason for hiding this comment

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

this was added in #46370 - I guess the error wasn't caught because the test is xfailed anyway?

cc @mroeschke in case you remember

Copy link
Member

Choose a reason for hiding this comment

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

Yeah before #46370, this test wasnt running I guess since there was a pass. Thanks for this cleanup

@MarcoGorelli MarcoGorelli added this to the 1.6 milestone Oct 6, 2022
@mroeschke mroeschke merged commit 159a917 into pandas-dev:main Oct 6, 2022
@mroeschke
Copy link
Member

Thanks @soumilbaldota

@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
* fix pylint bad-super-call

* fix black pre commit

* Update pyproject.toml

Co-authored-by: Marco Edward Gorelli <[email protected]>

* change super() to df.copy()

Co-authored-by: Marco Edward Gorelli <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Style Code style, linting, code_checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants