summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/interpreter/TestCommandInterpreterAPI.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/python_api/interpreter/TestCommandInterpreterAPI.py')
-rw-r--r--lldb/test/python_api/interpreter/TestCommandInterpreterAPI.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/test/python_api/interpreter/TestCommandInterpreterAPI.py b/lldb/test/python_api/interpreter/TestCommandInterpreterAPI.py
index 1f5171d1018..74baf11029d 100644
--- a/lldb/test/python_api/interpreter/TestCommandInterpreterAPI.py
+++ b/lldb/test/python_api/interpreter/TestCommandInterpreterAPI.py
@@ -1,5 +1,7 @@
"""Test the SBCommandInterpreter APIs."""
+from __future__ import print_function
+
import lldb_shared
import os
@@ -56,7 +58,7 @@ class CommandInterpreterAPICase(TestBase):
res.AppendMessage("Just appended a message.")
res.AppendMessage(None)
if self.TraceOn():
- print res
+ print(res)
process = ci.GetProcess()
self.assertTrue(process)
OpenPOWER on IntegriCloud