Skip to content
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

Add regression tests of instance attribute inference on builtins.object #4348

Merged
merged 2 commits into from
May 30, 2021

Conversation

nelfin
Copy link
Contributor

@nelfin nelfin commented Apr 13, 2021

Steps

  • Add yourself to CONTRIBUTORS if you are a new contributor.
  • Add a ChangeLog entry describing what your PR does.
  • If it's a new feature or an important bug fix, add a What's New entry in
    doc/whatsnew/<current release.rst>.
  • Write a good description on what the PR does.

Description

Regression tests for various behaviours fixed by pylint-dev/astroid#946.

Ref #3595, #4221, #3970. Depends pylint-dev/astroid#946.

Type of Changes

Type
🐛 Bug fix

Related Issue

Closes #3595
Closes #4221
Closes #3970
Closes #4232

@nelfin nelfin force-pushed the fix/astroid-945-regression-tests branch from 237e4e5 to f611af2 Compare April 13, 2021 23:15
Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

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

👍

@cdce8p cdce8p added the Needs astroid update Needs an astroid update (probably a release too) before being mergable label Apr 21, 2021
@nelfin nelfin marked this pull request as ready for review May 11, 2021 22:31
@nelfin
Copy link
Contributor Author

nelfin commented May 11, 2021

(Now that pylint-dev/astroid#946 has landed, these tests should pass on re-run)

@Pierre-Sassoulas
Copy link
Member

It's possible that we need a new release of astroid first.

@cdce8p
Copy link
Member

cdce8p commented May 12, 2021

It's possible that we need a new release of astroid first.

Yeah, although I would still wait a bit with that. For sure before the next pylint release.

@cdce8p cdce8p added this to the 2.8.3 milestone May 24, 2021
@Pierre-Sassoulas
Copy link
Member

This can be rebased on master to get astroid 2.5.7.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 91.832% when pulling 5d4f7d0 on nelfin:fix/astroid-945-regression-tests into 0e51660 on PyCQA:master.

@cdce8p cdce8p merged commit d09c5de into pylint-dev:master May 30, 2021
@Pierre-Sassoulas Pierre-Sassoulas modified the milestones: 2.8.3, 2.9.0 May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🪲 Needs astroid update Needs an astroid update (probably a release too) before being mergable
Projects
None yet
4 participants