summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/breakpoint/breakpoint_command/bktptcmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/breakpoint/breakpoint_command/bktptcmd.py')
-rw-r--r--lldb/test/functionalities/breakpoint/breakpoint_command/bktptcmd.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/test/functionalities/breakpoint/breakpoint_command/bktptcmd.py b/lldb/test/functionalities/breakpoint/breakpoint_command/bktptcmd.py
index 30186641c64..4bbb0327eac 100644
--- a/lldb/test/functionalities/breakpoint/breakpoint_command/bktptcmd.py
+++ b/lldb/test/functionalities/breakpoint/breakpoint_command/bktptcmd.py
@@ -1,4 +1,6 @@
+from __future__ import print_function
+
def function(frame, bp_loc, dict):
there = open("output2.txt", "w");
- print >> there, "lldb";
+ print("lldb", file=there)
there.close()
OpenPOWER on IntegriCloud