-
-
Notifications
You must be signed in to change notification settings - Fork 290
Test issue with 3.11 #1551
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
Labels
Milestone
Comments
Haven't looked at this myself, but one user also reports this on the latest 3.8: 78a486d#commitcomment-73321532 Not sure if that is the same bug or if it is actually valid, but that might help narrow this down? |
That looked promising. However, I did bisect it to python/cpython#92202 |
2 tasks
cdce8p
added a commit
to cdce8p/astroid
that referenced
this issue
May 13, 2022
Issue with reassigned __traceback__ attribute. In some cases it can be uninferable now. Ref: pylint-dev#1551
Merged
cdce8p
added a commit
that referenced
this issue
May 13, 2022
Issue with reassigned __traceback__ attribute. In some cases it can be uninferable now. Ref: #1551
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Managed to track down the test issue we are seeing with
3.11.0b1
a bit. Seems like it's partially caused by another test case which is why I wasn't able to reproduce it locally at first. The following command can be used to recreate the issueIn particular it seems like the
unittest
module extender is partially responsible. Not sure though if it's a false positive or a real issue.https://github.com/PyCQA/astroid/blob/0bf711f84d2de55bf777b45cec2449ce776a669a/astroid/brain/brain_unittest.py#L28-L31
So far I haven't figured out what exactly is going on here. It must have been a change in
3.11.0b1
though since3.11.0a7
was ok. Maybe you two have an idea @DanielNoord @jacobtylerwalls?/CC: @Pierre-Sassoulas
https://docs.python.org/3.11/whatsnew/changelog.html#python-3-11-0-beta-1
The text was updated successfully, but these errors were encountered: