FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-45292: Use raw strings for regex in tests by iritkatriel · Pull Request #29545 · python/cpython · GitHub

/ cpython Public

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

Merged
tirkarthi merged 1 commit into
python:mainfrom
iritkatriel:regex
Nov 16, 2021
Merged

bpo-45292: Use raw strings for regex in tests#29545
tirkarthi merged 1 commit into
python:mainfrom
iritkatriel:regex

Conversation

iritkatriel commented Nov 13, 2021
edited by bedevere-bot
Loading

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM. Thanks.

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 deleted the regex branch July 25, 2023 18:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL