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 tests for python3.9 #7179
Fix tests for python3.9 #7179
Conversation
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.
Acking the code changes. Whether or not pytest wants to have a nightly build of 3.9 in the CI is not for me to say.
A backport: #7181 |
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.
Thanks @asottile!
@asottile after this gets merged, could you please backport this to |
yep will do! |
Resolves #7161
SyntaxError
s changed as part of the PEG parser rewrite (bpo-40334)inspect.getsource
improved in python3.9 (utilizing theast
and__qualname__
) (bpo-35113)