Skip to content

tests: fix SyntaxWarning with Python 3.13 #589

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 4, 2025

Conversation

thiell
Copy link
Collaborator

@thiell thiell commented Aug 4, 2025

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 cea-hpc:master with commit 014a201 Aug 4, 2025
7 checks passed
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