summaryrefslogtreecommitdiffstats
path: root/lldb/test/class_static/TestStaticVariables.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/class_static/TestStaticVariables.py')
-rw-r--r--lldb/test/class_static/TestStaticVariables.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/class_static/TestStaticVariables.py b/lldb/test/class_static/TestStaticVariables.py
index 465607f6914..c9f9fc3bcd8 100644
--- a/lldb/test/class_static/TestStaticVariables.py
+++ b/lldb/test/class_static/TestStaticVariables.py
@@ -88,9 +88,9 @@ class StaticVariableTestCase(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()))
# Get the SBValue of 'A::g_points' and 'g_points'.
frame = thread.GetFrameAtIndex(0)
OpenPOWER on IntegriCloud