summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/event
diff options
context:
space:
mode:
authorDave Lee <davelee.com@gmail.com>2021-02-02 14:46:37 -0800
committerDave Lee <davelee.com@gmail.com>2021-02-03 21:15:08 -0800
commit0ed758b26041ef4ec57e8511d289fb0b84468775 (patch)
tree85ec29e88231671b4dc2bd4443706ca470e97273 /lldb/test/API/python_api/event
parent9511fa2ddab73c7c93c97df514a00cee5e12e1b2 (diff)
[lldb] Convert more assertTrue to assertEqual (NFC)
Follow up to D95813, this converts multiline assertTrue to assertEqual. Differential Revision: https://reviews.llvm.org/D95899
Diffstat (limited to 'lldb/test/API/python_api/event')
-rw-r--r--lldb/test/API/python_api/event/TestEvents.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/API/python_api/event/TestEvents.py b/lldb/test/API/python_api/event/TestEvents.py
index 5816fc3e12b7..b53163b70862 100644
--- a/lldb/test/API/python_api/event/TestEvents.py
+++ b/lldb/test/API/python_api/event/TestEvents.py
@@ -62,8 +62,8 @@ class EventAPITestCase(TestBase):
False, # Stop at entry
error) # error
- self.assertTrue(
- process.GetState() == lldb.eStateStopped,
+ self.assertEqual(
+ process.GetState(), lldb.eStateStopped,
PROCESS_STOPPED)
# Create an empty event object.