Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-45292: Use raw strings for regex in tests#29545

Merged
tirkarthi merged 1 commit into
python:mainpython/cpython:mainfrom
iritkatriel:regexiritkatriel/cpython:regexCopy head branch name to clipboard
Nov 16, 2021
Merged

bpo-45292: Use raw strings for regex in tests#29545
tirkarthi merged 1 commit into
python:mainpython/cpython:mainfrom
iritkatriel:regexiritkatriel/cpython:regexCopy head branch name to clipboard

Conversation

@iritkatriel

@iritkatriel iritkatriel commented Nov 13, 2021

Copy link
Copy Markdown
Member

This removes these warnings:

0:00:00 load avg: 0.39 [1/1] test_exception_group
/home/karthikeyan/stuff/python/cpython/Lib/test/test_exception_group.py:41: DeprecationWarning: invalid escape sequence '('
MSG = 'second argument (exceptions) must be a sequence'
/home/karthikeyan/stuff/python/cpython/Lib/test/test_exception_group.py:47: DeprecationWarning: invalid escape sequence '('
MSG = 'second argument (exceptions) must be a non-empty sequence'
/home/karthikeyan/stuff/python/cpython/Lib/test/test_exception_group.py:52: DeprecationWarning: invalid escape sequence '('
MSG = ('Item [0-9]+ of second argument (exceptions)'

https://bugs.python.org/issue45292

@tirkarthi tirkarthi 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.

LGTM. Thanks.

@iritkatriel

Copy link
Copy Markdown
Member Author

Thank you @tirkarthi .

remykarem pushed a commit to remykarem/cpython that referenced this pull request Dec 7, 2021
@iritkatriel iritkatriel deleted the regex branch July 25, 2023 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.