-
-
Notifications
You must be signed in to change notification settings - Fork 644
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
Override grammar: allow question marks in unquoted strings #1598
Conversation
tests/test_overrides_parser.py
Outdated
param( | ||
"key={a%s: 0}" % UNQUOTED_SPECIAL, | ||
{f"a{UNQUOTED_SPECIAL}": 0}, | ||
id="dict_key_noquote", | ||
), |
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.
I think the leading a is accidental here.
not sure what value it's adding here. I vote to remove it (and in that case, is this test case already covered?)
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.
I removed it in 4f89e38 (also rebased on master to fix a conflict)
There is a test that is very similar in test_dict_container()
but it doesn't test the same parser rule and doesn't use the .value()
method (which seems to be the purpose here).
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.
shipit
Fixes #1597