diff options
author | Dmitry Vasilyev <dvassiliev@accesssoftek.com> | 2024-04-30 17:38:46 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-30 14:38:46 +0100 |
commit | 7ae32bf7581e03d92c78346a72ea20798520b978 (patch) | |
tree | 0af9372520816cab00b12b764b020a0125e9c4a8 /lldb/packages | |
parent | e4c0f4a2ecaf0f9d0a80f57a028bb7bdbe74a7e3 (diff) | |
download | llvm-7ae32bf7581e03d92c78346a72ea20798520b978.zip llvm-7ae32bf7581e03d92c78346a72ea20798520b978.tar.gz llvm-7ae32bf7581e03d92c78346a72ea20798520b978.tar.bz2 |
[lldb] Fixed SyntaxWarning invalid escape sequence '\s' in decorators.py (#90607)
Diffstat (limited to 'lldb/packages')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/decorators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/decorators.py b/lldb/packages/Python/lldbsuite/test/decorators.py index 7fb88ce..79cc0a2a 100644 --- a/lldb/packages/Python/lldbsuite/test/decorators.py +++ b/lldb/packages/Python/lldbsuite/test/decorators.py @@ -1098,7 +1098,7 @@ def skipUnlessFeature(feature): ).decode("utf-8") # If 'feature: 1' was output, then this feature is available and # the test should not be skipped. - if re.match("%s: 1\s*" % feature, output): + if re.match(r"%s: 1\s*" % feature, output): return None else: return "%s is not supported on this system." % feature |