aboutsummaryrefslogtreecommitdiff
path: root/tests/functional_tests/transfer.py
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-06-01 20:32:39 +0200
committerRiccardo Spagni <ric@spagni.net>2019-06-01 20:32:39 +0200
commit256f8d8b66c161b928129e97a7b7b3b70bbebb2a (patch)
treeb50c2983f69bf2b6f9f2d1f683a66d3c25a0ca8a /tests/functional_tests/transfer.py
parentMerge pull request #5578 (diff)
parentfunctional_tests: fix python3 compatibility (diff)
downloadmonero-256f8d8b66c161b928129e97a7b7b3b70bbebb2a.tar.xz
Merge pull request #5584
eeebad66 functional_tests: fix python3 compatibility (moneromooo-monero)
Diffstat (limited to 'tests/functional_tests/transfer.py')
-rwxr-xr-xtests/functional_tests/transfer.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/functional_tests/transfer.py b/tests/functional_tests/transfer.py
index 1ff641d1f..7bf0f4957 100755
--- a/tests/functional_tests/transfer.py
+++ b/tests/functional_tests/transfer.py
@@ -28,7 +28,7 @@
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-import time
+from __future__ import print_function
import json
"""Test simple transfers
@@ -48,13 +48,13 @@ class TransferTest():
self.sweep_single()
def reset(self):
- print 'Resetting blockchain'
+ print('Resetting blockchain')
daemon = Daemon()
daemon.pop_blocks(1000)
daemon.flush_txpool()
def create(self):
- print 'Creating wallets'
+ print('Creating wallets')
seeds = [
'velvet lymph giddy number token physics poetry unquoted nibs useful sabotage limits benches lifestyle eden nitrogen anvil fewest avoid batch vials washing fences goat unquoted',
'peeled mixture ionic radar utopia puddle buying illness nuns gadget river spout cavernous bounced paradise drunk looking cottage jump tequila melting went winter adjust spout',
@@ -297,7 +297,7 @@ class TransferTest():
assert res.unlocked_balance <= res.balance
assert res.blocks_to_unlock == 9
- print 'Creating multi out transfer'
+ print('Creating multi out transfer')
self.wallet[0].refresh()