From 16bf89267e5ac01d2b512ce784f23640a82de821 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Thu, 13 Feb 2020 21:55:41 -0800 Subject: [PATCH] [lldb/Test] Partially revert assertTrue change This reverts b3a0c4d7dcfa252be17ef5f5b63ffaaa83e01a2b for TestBreakpointHitCount.py because it's now timing out on the Windows bot. I'm not sure this is the cause, but the substitution doesn't look correct anyway... --- .../breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py b/lldb/test/API/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py index 9f8ac82e7f54..0254bf02366d 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py @@ -41,7 +41,7 @@ class BreakpointHitCountTestCase(TestBase): "There should be a thread stopped due to breakpoint") frame0 = thread.GetFrameAtIndex(0) - self.assertEquals(frame0.GetFunctionName(), "a(int)" or frame0.GetFunctionName() == "int a(int)"); + self.assertTrue(frame0.GetFunctionName() == "a(int)" or frame0.GetFunctionName() == "int a(int)"); process.Continue() self.assertEqual(process.GetState(), lldb.eStateExited)