summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/value/TestValueAPI.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/python_api/value/TestValueAPI.py')
-rw-r--r--lldb/test/python_api/value/TestValueAPI.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/lldb/test/python_api/value/TestValueAPI.py b/lldb/test/python_api/value/TestValueAPI.py
index e6d8825c530..26813506cb3 100644
--- a/lldb/test/python_api/value/TestValueAPI.py
+++ b/lldb/test/python_api/value/TestValueAPI.py
@@ -2,6 +2,8 @@
Test some SBValue APIs.
"""
+from __future__ import print_function
+
import lldb_shared
import os, time
@@ -73,10 +75,10 @@ class ValueAPITestCase(TestBase):
cvf = lldbutil.ChildVisitingFormatter(indent_child=2)
rdf = lldbutil.RecursiveDecentFormatter(indent_child=2)
if self.TraceOn():
- print fmt.format(days_of_week)
- print cvf.format(days_of_week)
- print cvf.format(weekdays)
- print rdf.format(g_table)
+ print(fmt.format(days_of_week))
+ print(cvf.format(days_of_week))
+ print(cvf.format(weekdays))
+ print(rdf.format(g_table))
# Get variable 'my_int_ptr'.
value = frame0.FindVariable('my_int_ptr')
OpenPOWER on IntegriCloud