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

Fix regression introduced by #1186 and add tests #1204

Merged
merged 1 commit into from
Oct 6, 2021

Conversation

DanielNoord
Copy link
Collaborator

@DanielNoord DanielNoord commented Oct 6, 2021

Steps

  • For new features or bug fixes, add a ChangeLog entry describing what your PR does.
  • Write a good description on what the PR does.

Description

This is based on @cdce8p's suggestion. This also includes the test files he came up with.

I think we should also reconsider the tests that are currently here. Also the one for #1186. I don't think we actually reached consensus in that issue about whether we are fully testing everything we want. It seems we're missing some knowledge about how astroid resources are tested.

I did test this with pylint-dev/pylint#5059 and this suggestion works.

Type of Changes

Type
🐛 Bug fix

Related Issue

This closes #1200

@DanielNoord DanielNoord added Regression pylint-tested PRs that don't cause major regressions with pylint labels Oct 6, 2021
@DanielNoord DanielNoord added this to the 2.8.1 milestone Oct 6, 2021
@DanielNoord DanielNoord marked this pull request as ready for review October 6, 2021 15:28
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.

👍

@Pierre-Sassoulas Pierre-Sassoulas merged commit 47985f3 into pylint-dev:main Oct 6, 2021
@DanielNoord DanielNoord deleted the namespace-regression branch October 6, 2021 20:01
@cdce8p
Copy link
Member

cdce8p commented Oct 6, 2021

Thanks @DanielNoord 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pylint-tested PRs that don't cause major regressions with pylint Regression
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression for #1186
3 participants