summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/step_scripted/TestStepScripted.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/API/functionalities/step_scripted/TestStepScripted.py')
-rw-r--r--lldb/test/API/functionalities/step_scripted/TestStepScripted.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/API/functionalities/step_scripted/TestStepScripted.py b/lldb/test/API/functionalities/step_scripted/TestStepScripted.py
index 9891a9c23b50..53901718019f 100644
--- a/lldb/test/API/functionalities/step_scripted/TestStepScripted.py
+++ b/lldb/test/API/functionalities/step_scripted/TestStepScripted.py
@@ -126,7 +126,7 @@ class StepScriptedTestCase(TestBase):
cmd = "thread step-scripted -C Steps.StepReportsStopOthers -k token -v %s" % (
token
)
- if run_mode != None:
+ if run_mode is not None:
cmd = cmd + " --run-mode %s" % (run_mode)
if self.TraceOn():
print(cmd)