diff --git a/lldb/packages/Python/lldbsuite/test/decorators.py b/lldb/packages/Python/lldbsuite/test/decorators.py index 7fb88cef16535..79cc0a2aeacbe 100644 --- a/lldb/packages/Python/lldbsuite/test/decorators.py +++ b/lldb/packages/Python/lldbsuite/test/decorators.py @@ -1098,7 +1098,7 @@ def is_feature_enabled(): ).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