Skip to content

Commit 7ae32bf

Browse files
authored
[lldb] Fixed SyntaxWarning invalid escape sequence '\s' in decorators.py (#90607)
1 parent e4c0f4a commit 7ae32bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/packages/Python/lldbsuite/test/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ def is_feature_enabled():
10981098
).decode("utf-8")
10991099
# If 'feature: 1' was output, then this feature is available and
11001100
# the test should not be skipped.
1101-
if re.match("%s: 1\s*" % feature, output):
1101+
if re.match(r"%s: 1\s*" % feature, output):
11021102
return None
11031103
else:
11041104
return "%s is not supported on this system." % feature

0 commit comments

Comments
 (0)