-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 for astroid 2.7.0 fixes #4816
Add regression tests for astroid 2.7.0 fixes #4816
Conversation
7e743ef
to
7e8710d
Compare
7e8710d
to
dffdc1f
Compare
@@ -1,4 +1,6 @@ | |||
# pylint: disable=missing-docstring, too-few-public-methods, useless-object-inheritance | |||
from dataclasses import dataclass, InitVar |
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.
@Pierre-Sassoulas this was an oversight on my part---dataclasses
was introduced in Python 3.7, which is why the tests are failing on 3.6. I think the right fix is to move this test into a separate file do do the min_pyver
configuration?
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.
Yes there are other example in the functional test. (same name with _py37 would work). You made the code we'll need in 4 months :) We need to support python 3.6 until its end of life, but it's close now.
Pull Request Test Coverage Report for Build 1136246062
π - Coveralls |
Type of Changes
Description
Tests for pylint-dev/astroid#1121 and pylint-dev/astroid#1126