-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-102797: Add more code snippets for exec_tests and eval_tests #102798
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
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.
For first review, exec test look ok. Aside from 1 addition, I think fewer comments needed. The breadth covered by a comment seems uneven (not your fault).
Co-authored-by: Terry Jan Reedy <[email protected]>
Co-authored-by: Terry Jan Reedy <[email protected]>
# IfExp | ||
"foo() if x else bar()", | ||
# JoinedStr and FormattedValue | ||
"f'{a}'", |
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.
Since FormattedValue
cannot be used without a JoinedStr
, so separate this snippets makes no sense.
However, But I don't know, should it be a separate PR? |
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.
LGTM. More tests are usually a good thing.
Ah, sadly there is now a merge conflict, I cannot merge your PR. |
Fix merge conflicts for Issue 102797
Oh, I didn't get a notification from this PR.. |
Merged, thank you. |
Co-authored-by: Terry Jan Reedy <[email protected]> Co-authored-by: Nineteendo <[email protected]>
Co-authored-by: Terry Jan Reedy <[email protected]> Co-authored-by: Nineteendo <[email protected]>
Co-authored-by: Terry Jan Reedy <[email protected]> Co-authored-by: Nineteendo <[email protected]>
Resolves #102797
test_ast.py
#102797