Skip to content

Fine-grained: Test f string #4967

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

Merged
merged 2 commits into from
Apr 26, 2018
Merged

Fine-grained: Test f string #4967

merged 2 commits into from
Apr 26, 2018

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Apr 25, 2018

Work towards #4951.


[case testFString]
from a import g
f'{g(1)}'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add a test where f-string is at a different scope (class or function) and/or where g turns into a class, if you have time.

@JukkaL JukkaL merged commit 5f05495 into master Apr 26, 2018
@gvanrossum gvanrossum deleted the fg-fstring branch May 4, 2018 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants