aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/functionalities/conditional_break/conditional_break.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Python/lldbsuite/test/functionalities/conditional_break/conditional_break.py')
-rw-r--r--packages/Python/lldbsuite/test/functionalities/conditional_break/conditional_break.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/Python/lldbsuite/test/functionalities/conditional_break/conditional_break.py b/packages/Python/lldbsuite/test/functionalities/conditional_break/conditional_break.py
index b30a34e56b14..a62dd923af9d 100644
--- a/packages/Python/lldbsuite/test/functionalities/conditional_break/conditional_break.py
+++ b/packages/Python/lldbsuite/test/functionalities/conditional_break/conditional_break.py
@@ -1,6 +1,7 @@
import sys
import lldb
+
def stop_if_called_from_a(frame, bp_loc, dict):
thread = frame.GetThread()
@@ -19,12 +20,11 @@ def stop_if_called_from_a(frame, bp_loc, dict):
should_stop = True
if thread.GetNumFrames() >= 2:
- if (thread.frames[0].function.name == 'c' and thread.frames[1].function.name == 'a'):
+ if (thread.frames[0].function.name ==
+ 'c' and thread.frames[1].function.name == 'a'):
should_stop = True
else:
should_stop = False
dbg.SetAsync(old_async)
return should_stop
-
-