Skip to content

Commit f5ebdd4

Browse files
committed
Darkening
1 parent ea2e622 commit f5ebdd4

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

lldb/test/API/functionalities/thread/num_threads/TestNumThreads.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,19 +139,25 @@ def is_thread3(thread):
139139
setting_data = self.dbg.GetSetting("frame-format-unique")
140140
setting_str = setting_data.GetStringValue(1000)
141141
setting_str = "UNIQUE: " + setting_str
142-
lldb.SBDebugger.SetInternalVariable("frame-format-unique", setting_str, self.dbg.GetInstanceName())
142+
lldb.SBDebugger.SetInternalVariable(
143+
"frame-format-unique", setting_str, self.dbg.GetInstanceName()
144+
)
143145
# Now that we are stopped, we should have 10 threads waiting in the
144146
# thread3 function. All of these threads should show as one stack.
145147
self.expect(
146148
"thread backtrace unique",
147149
"Backtrace with unique stack shown correctly",
148-
substrs=[expect_string, "UNIQUE:", "main.cpp:%d" % self.thread3_before_lock_line],
150+
substrs=[
151+
expect_string,
152+
"UNIQUE:",
153+
"main.cpp:%d" % self.thread3_before_lock_line,
154+
],
149155
)
150156
# Make sure setting the unique flag in the command isn't
151157
# persistent:
152158
self.expect(
153159
"thread backtrace",
154160
"Backtrace unique is not sticky",
155161
substrs=["UNIQUE:"],
156-
matching=False
162+
matching=False,
157163
)

0 commit comments

Comments
 (0)