[Lldb-commits] [lldb] r256851 - Fix a typo in lldbutil.py

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 5 09:55:29 PST 2016


Author: labath
Date: Tue Jan  5 11:55:29 2016
New Revision: 256851

URL: http://llvm.org/viewvc/llvm-project?rev=256851&view=rev
Log:
Fix a typo in lldbutil.py

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/lldbutil.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/lldbutil.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lldbutil.py?rev=256851&r1=256850&r2=256851&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lldbutil.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lldbutil.py Tue Jan  5 11:55:29 2016
@@ -740,7 +740,7 @@ def expect_state_changes(test, listener,
     event = lldb.SBEvent()
     for expected_state in states:
         if not listener.WaitForEvent(timeout, event):
-            test.Fail("Timed out while waiting for a transition to state %s" %
+            test.fail("Timed out while waiting for a transition to state %s" %
                 lldb.SBDebugger.StateAsCString(expected_state))
 
         got_state = lldb.SBProcess.GetStateFromEvent(event)




More information about the lldb-commits mailing list