summaryrefslogtreecommitdiffstats
path: root/lldb/test/foundation/TestObjCMethods.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/foundation/TestObjCMethods.py')
-rw-r--r--lldb/test/foundation/TestObjCMethods.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/foundation/TestObjCMethods.py b/lldb/test/foundation/TestObjCMethods.py
index 9485cb57327..9bbf1c08882 100644
--- a/lldb/test/foundation/TestObjCMethods.py
+++ b/lldb/test/foundation/TestObjCMethods.py
@@ -220,9 +220,9 @@ class FoundationTestCase(TestBase):
# The stop reason of the thread should be breakpoint.
thread = self.process.GetThreadAtIndex(0)
if thread.GetStopReason() != lldb.eStopReasonBreakpoint:
- from lldbutil import StopReasonString
+ from lldbutil import stop_reason_to_str
self.fail(STOPPED_DUE_TO_BREAKPOINT_WITH_STOP_REASON_AS %
- StopReasonString(thread.GetStopReason()))
+ stop_reason_to_str(thread.GetStopReason()))
# Make sure we stopped at the first breakpoint.
OpenPOWER on IntegriCloud