Skip to content

Commit

Permalink
[lldb] Fixed SyntaxWarning invalid escape sequence '\s' in decorators…
Browse files Browse the repository at this point in the history
….py (#90607)
  • Loading branch information
slydiman committed Apr 30, 2024
1 parent e4c0f4a commit 7ae32bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/packages/Python/lldbsuite/test/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7ae32bf

Please sign in to comment.