Skip to content

mark/expression: allow backslash characters in identifiers #8987

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 1 commit into from
Aug 8, 2021

Conversation

bluetech
Copy link
Member

@bluetech bluetech commented Aug 8, 2021

Fixes #8983. I see two options for how to treat backslashes (besides rejectign them), as escape characters or literal identifier characters. I went with the latter; please see the test docstring for the rationale.

Copy link
Member

@RonnyPfannschmidt RonnyPfannschmidt left a comment

Choose a reason for hiding this comment

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

Lovely solution 👍

@RonnyPfannschmidt
Copy link
Member

Codecov seems intoxicated again

@bluetech bluetech merged commit df033f3 into pytest-dev:main Aug 8, 2021
@bluetech bluetech deleted the k-backslash branch August 8, 2021 14:16
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.

pytest -k doesn't work with "\"?
2 participants