diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/result_formatter.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/result_formatter.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/result_formatter.py b/lldb/packages/Python/lldbsuite/test/result_formatter.py index 0dc1833988f..a37a1f9c743 100644 --- a/lldb/packages/Python/lldbsuite/test/result_formatter.py +++ b/lldb/packages/Python/lldbsuite/test/result_formatter.py @@ -683,9 +683,8 @@ class ResultsFormatter(object): if event_type == "terminate": self.terminate_called = True - elif event_type in [ - EventBuilder.TYPE_TEST_RESULT, - EventBuilder.TYPE_JOB_RESULT]: + elif (event_type == EventBuilder.TYPE_TEST_RESULT or + event_type == EventBuilder.TYPE_JOB_RESULT): # Keep track of event counts per test/job result status type. # The only job (i.e. inferior process) results that make it # here are ones that cannot be remapped to the most recently |