Branch: refs/heads/main
Revision: 66cf8e86d1f2c872d59127cdb1799b8a5e62625c
Author: jabraham17
Link: Fix sub_test error filtering for python 3.12 by jabraham17 · Pull Request #24664 · chapel-lang/chapel · GitHub
Log Message:
Fix sub_test error filtering for python 3.12 (#24664)
I recently updated to python3.12 and found that I was getting a
SyntaxWarning
for the string "'AM_ERR_RESOURCE (Problem with
requested resource)'" when running start_test
. The simple fix is to
mark the string as a raw/regex string with r
. I applied this fix, and
also applied it to other filter strings which ultimately get passed to
re.search
to future-proof them.
Tested locally by running start_test
on any test
[Reviewed by @vasslitvinov]
Diff:
M util/test/sub_test.py
https://github.com/chapel-lang/chapel/pull/24664.diff