summaryrefslogtreecommitdiff
path: root/lldb/test/API/lua_api/TestLuaAPI.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/API/lua_api/TestLuaAPI.py')
-rw-r--r--lldb/test/API/lua_api/TestLuaAPI.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/API/lua_api/TestLuaAPI.py b/lldb/test/API/lua_api/TestLuaAPI.py
index 4c9a5d9672c4..065de61ad657 100644
--- a/lldb/test/API/lua_api/TestLuaAPI.py
+++ b/lldb/test/API/lua_api/TestLuaAPI.py
@@ -115,7 +115,7 @@ def executeCommand(command, cwd=None, env=None, input=None, timeout=0):
out, err = p.communicate(input=input)
exitCode = p.wait()
finally:
- if timerObject != None:
+ if timerObject is not None:
timerObject.cancel()
# Ensure the resulting output is always of string type.