Unverified Commit 283a6b99 authored by Luke Lau's avatar Luke Lau Committed by GitHub
Browse files

[UTC] Fix SyntaxWarning on Python 3.12 (#82327)

On Python 3.12 we now get a warning in common.py:

llvm/utils/UpdateTestChecks/common.py:488: SyntaxWarning: invalid escape
sequence '\s'

This fixes it by using a raw string literal, see
https://github.com/llvm/llvm-project/pull/78036 and
https://docs.python.org/3/library/re.html
parent 9fa18f65
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment