From 2d43955abf472332b7dd78ea61d04ca1944d6766 Mon Sep 17 00:00:00 2001 From: Frederic Fortier Date: Wed, 7 Feb 2018 00:45:33 -0500 Subject: [PATCH] BUG: fixed Python 2 issue --- catalyst/marketplace/marketplace.py | 6 ++++-- tests/marketplace/test_marketplace.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/catalyst/marketplace/marketplace.py b/catalyst/marketplace/marketplace.py index 8f03145c..61ac2a97 100644 --- a/catalyst/marketplace/marketplace.py +++ b/catalyst/marketplace/marketplace.py @@ -215,8 +215,10 @@ class Marketplace: print('\nThe price for a monthly subscription to this dataset is' ' {} ENG'.format(price)) - print('Checking that the ENG balance in {} is greater than ' - '{} ENG... '.format(address, price), end='') + print( + 'Checking that the ENG balance in {} is greater than {} ' + 'ENG... '.format(address, price) + ) wallet_address = address[2:] balance = self.web3.eth.call({ diff --git a/tests/marketplace/test_marketplace.py b/tests/marketplace/test_marketplace.py index c45a727d..59564a5e 100644 --- a/tests/marketplace/test_marketplace.py +++ b/tests/marketplace/test_marketplace.py @@ -16,7 +16,7 @@ class TestMarketplace(WithLogger, ZiplineTestCase): def test_subscribe(self): marketplace = Marketplace() - marketplace.subscribe('marketcap1234') + marketplace.subscribe('marketcap2222') pass def test_ingest(self):