From e06a88cbe9cb639b0ee11026d6888455df1de214 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Mon, 27 Jun 2022 16:30:32 -0700 Subject: [PATCH] [lldb] Use assertState in TestIgnoredExceptions --- .../API/macosx/ignore_exceptions/TestIgnoredExceptions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py b/lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py index 16fa762245825..e90b2ef8dbb30 100644 --- a/lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py +++ b/lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py @@ -56,8 +56,8 @@ def suspended_thread_test(self): self.assertEqual(len(threads), 1, "Stopped at return breakpoint") # Make sure we really changed the value: - + process.Continue() - self.assertEqual(process.state, lldb.eStateExited, "Process exited") + self.assertState(process.state, lldb.eStateExited, "Process exited") self.assertEqual(process.exit_state, 20, "Got the right exit status") - +