man-group / man-group/pytest-plugins
pytest_profiling.py:20: SyntaxWarning: invalid escape sequence '\:'
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 597
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
Python 3.12 complains about deprecated/invalid escape sequence.
`/usr/local/lib/python3.12/dist-packages/pytest_profiling.py:20: SyntaxWarning: invalid escape sequence '\:'
forbidden_chars = set('/?<>\:*|"')`
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open pytest_profiling.py around line 20 and inspect the forbidden_chars definition that triggers the Python 3.12 warning. Update the handling of the reported invalid escape sequence, then verify that importing or running the plugin under Python 3.12 no longer emits this warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100