Skip to content

Fix "invalid escape sequence" SyntaxWarnings#161

Open
wferi wants to merge 1 commit into
CxxTest:masterfrom
wferi:invalid-escape
Open

Fix "invalid escape sequence" SyntaxWarnings#161
wferi wants to merge 1 commit into
CxxTest:masterfrom
wferi:invalid-escape

Conversation

@wferi
Copy link
Copy Markdown

@wferi wferi commented Aug 31, 2025

Use raw strings for consistency and readability.

Use raw strings for consistency and readability.
return [options,suites]

lineCont_re = re.compile('(.*)\\\s*$')
lineCont_re = re.compile(r'(.*)\s*$')
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removal of the backslashes will cause tests to be missed.

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.

2 participants