aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/proxy_test.py
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-05-06 11:23:48 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-05-06 11:24:14 +0200
commit77b637f20e8cb91cf007bf416b603ca362385cdb (patch)
tree9e912a7296f6bc2f06bbd6bc3e44737393de0dab /qa/rpc-tests/proxy_test.py
parent65aecda52d0d2179f77d675dc305225a1566c48f (diff)
parentfa389d4edc367073e2ccc6d1f0790c4b72ba17f2 (diff)
downloadbitcoin-77b637f20e8cb91cf007bf416b603ca362385cdb.tar.xz
Merge #7814: [qa] Switch to py3
fa389d4 [qa] Switch to py3 (MarcoFalke)
Diffstat (limited to 'qa/rpc-tests/proxy_test.py')
-rwxr-xr-xqa/rpc-tests/proxy_test.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/qa/rpc-tests/proxy_test.py b/qa/rpc-tests/proxy_test.py
index 91c871ddc9..6c7b201d56 100755
--- a/qa/rpc-tests/proxy_test.py
+++ b/qa/rpc-tests/proxy_test.py
@@ -1,7 +1,8 @@
-#!/usr/bin/env python2
-# Copyright (c) 2015 The Bitcoin Core developers
+#!/usr/bin/env python3
+# Copyright (c) 2015-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
+
import socket
from test_framework.socks5 import Socks5Configuration, Socks5Command, Socks5Server, AddressType
@@ -55,7 +56,7 @@ class ProxyTest(BitcoinTestFramework):
self.conf3.unauth = True
self.conf3.auth = True
else:
- print "Warning: testing without local IPv6 support"
+ print("Warning: testing without local IPv6 support")
self.serv1 = Socks5Server(self.conf1)
self.serv1.start()