Skip to content

tests: fix SyntaxWarning with Python 3.13#589

Merged
thiell merged 1 commit into
clustershell:masterfrom
thiell:b194_tests_syntax_py313
Aug 4, 2025
Merged

tests: fix SyntaxWarning with Python 3.13#589
thiell merged 1 commit into
clustershell:masterfrom
thiell:b194_tests_syntax_py313

Conversation

@thiell

@thiell thiell commented Aug 4, 2025

Copy link
Copy Markdown
Collaborator

Use raw strings to avoid the following with Python 3.13:

tests/NodeSetGroupTest.py:146: SyntaxWarning: invalid escape sequence '\('
  "sed -n 's/^$GROUP:\(.*\)/\\1/p' %s" % test_groups1.name,

Use raw strings to avoid the following with Python 3.13:

tests/NodeSetGroupTest.py:146: SyntaxWarning: invalid escape sequence '\('
  "sed -n 's/^$GROUP:\(.*\)/\\1/p' %s" % test_groups1.name,
@thiell thiell self-assigned this Aug 4, 2025
@thiell thiell added this to the 1.9.4 milestone Aug 4, 2025
@thiell thiell added the Tests label Aug 4, 2025
@thiell thiell added this pull request to the merge queue Aug 4, 2025
Merged via the queue into clustershell:master with commit 014a201 Aug 4, 2025
7 checks passed
@thiell thiell modified the milestones: 1.9.4, 1.10 Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant