Fix a typo in lldbutil.py

llvm-svn: 256851
This commit is contained in:
Pavel Labath 2016-01-05 17:55:29 +00:00
parent ddec22d55d
commit 7723c57ca2
1 changed files with 1 additions and 1 deletions

View File

@ -740,7 +740,7 @@ def expect_state_changes(test, listener, states, timeout = 5):
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)