From: Jonas Devlieghere Date: Mon, 27 Jun 2022 23:30:32 +0000 (-0700) Subject: [lldb] Use assertState in TestIgnoredExceptions X-Git-Tag: upstream/15.0.7~3376 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e06a88cbe9cb639b0ee11026d6888455df1de214;p=platform%2Fupstream%2Fllvm.git [lldb] Use assertState in TestIgnoredExceptions --- diff --git a/lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py b/lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py index 16fa76224582..e90b2ef8dbb3 100644 --- a/lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py +++ b/lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py @@ -56,8 +56,8 @@ class TestDarwinSignalHandlers(TestBase): 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") - +