Skip to content

mark/expression: allow backslash characters in identifiers#8987

Merged
bluetech merged 1 commit into
pytest-dev:mainfrom
bluetech:k-backslash
Aug 8, 2021
Merged

mark/expression: allow backslash characters in identifiers#8987
bluetech merged 1 commit into
pytest-dev:mainfrom
bluetech:k-backslash

Conversation

@bluetech

@bluetech bluetech commented Aug 8, 2021

Copy link
Copy Markdown
Member

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.

@RonnyPfannschmidt RonnyPfannschmidt left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
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