-
Notifications
You must be signed in to change notification settings - Fork 85
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
pytest-profiling: Invalid Escape Sequence Causes SyntaxWarning in Python 3.12 #238
Comments
I believe changing the quoted line to the following will fix the warning:
I.e., the backslash needs to be escaped with a backslash. Or, use a raw string literal:
|
Looks fixed already, I think? |
It was fixed in code in 2020, but the last release was in 2019. |
This has been released as part of 1.8.0, please raise another issue if this persists! |
Nominally fixed, per man-group/pytest-plugins#238 (comment)
Enabling this with Python 3.12 and pytest 8 leads to this failure: |
I'm seeing the following warning in Python 3.12, which does not like the
\:
escape sequence:The text was updated successfully, but these errors were encountered: