summaryrefslogtreecommitdiffstats
path: root/lldb/test/tools/lldb-server/commandline/TestStubReverseConnect.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/tools/lldb-server/commandline/TestStubReverseConnect.py')
-rw-r--r--lldb/test/tools/lldb-server/commandline/TestStubReverseConnect.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/test/tools/lldb-server/commandline/TestStubReverseConnect.py b/lldb/test/tools/lldb-server/commandline/TestStubReverseConnect.py
index 34850c74868..f37da8f54f1 100644
--- a/lldb/test/tools/lldb-server/commandline/TestStubReverseConnect.py
+++ b/lldb/test/tools/lldb-server/commandline/TestStubReverseConnect.py
@@ -1,3 +1,5 @@
+from __future__ import print_function
+
import gdbremote_testcase
import lldbgdbserverutils
import re
@@ -63,7 +65,7 @@ class TestStubReverseConnect(gdbremote_testcase.GdbRemoteTestCaseBase):
(stub_socket, address) = self.listener_socket.accept()
self.assertIsNotNone(stub_socket)
self.assertIsNotNone(address)
- print "connected to stub {} on {}".format(address, stub_socket.getsockname())
+ print("connected to stub {} on {}".format(address, stub_socket.getsockname()))
# Verify we can do the handshake. If that works, we'll call it good.
self.do_handshake(stub_socket, timeout_seconds=self._DEFAULT_TIMEOUT)
OpenPOWER on IntegriCloud