summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py')
-rw-r--r--lldb/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/lldb/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py b/lldb/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py
index 17af6cb8c5e..111940ea857 100644
--- a/lldb/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py
+++ b/lldb/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py
@@ -2,6 +2,8 @@
Test the lldb command line takes a filename with single quote chars.
"""
+from __future__ import print_function
+
import lldb_shared
import os
@@ -57,13 +59,13 @@ class SingleQuoteInCommandLineTestCase(TestBase):
with open('child_send.txt', 'r') as fs:
if self.TraceOn():
- print "\n\nContents of child_send.txt:"
- print fs.read()
+ print("\n\nContents of child_send.txt:")
+ print(fs.read())
with open('child_read.txt', 'r') as fr:
from_child = fr.read()
if self.TraceOn():
- print "\n\nContents of child_read.txt:"
- print from_child
+ print("\n\nContents of child_read.txt:")
+ print(from_child)
self.expect(from_child, exe=False,
substrs = ["Current executable set to"])
OpenPOWER on IntegriCloud