[lldb] Use assertState in TestIgnoredExceptions
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 27 Jun 2022 23:30:32 +0000 (16:30 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 27 Jun 2022 23:30:47 +0000 (16:30 -0700)
lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py

index 16fa7622458254c2d43ac3469b4e03dbd45ff06a..e90b2ef8dbb30b3a646820afaa5a0e85752158fb 100644 (file)
@@ -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")
-                         
+