summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/event/TestEvents.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/API/python_api/event/TestEvents.py')
-rw-r--r--lldb/test/API/python_api/event/TestEvents.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/API/python_api/event/TestEvents.py b/lldb/test/API/python_api/event/TestEvents.py
index a15f4357f4f5..d8d3dd2d2b01 100644
--- a/lldb/test/API/python_api/event/TestEvents.py
+++ b/lldb/test/API/python_api/event/TestEvents.py
@@ -335,7 +335,7 @@ class EventAPITestCase(TestBase):
if state == lldb.eStateStopped:
restart = lldb.SBProcess.GetRestartedFromEvent(event)
- if expected_state != None:
+ if expected_state is not None:
self.assertEqual(
state, expected_state, "Primary thread got the correct event"
)