diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-06-01 20:27:41 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-06-01 20:27:41 +0200 |
commit | 51766d026bb0337d7bff17f1e3c0c403b21eaefd (patch) | |
tree | 4ff11a8d0caac85ba17efb01598fb8546a7752ff /tests/functional_tests/get_output_distribution.py | |
parent | Merge pull request #5577 (diff) | |
parent | functional_tests: fix python3 compatibility (diff) | |
download | monero-51766d026bb0337d7bff17f1e3c0c403b21eaefd.tar.xz |
Merge pull request #5583
77594c4f functional_tests: fix python3 compatibility (moneromooo-monero)
Diffstat (limited to 'tests/functional_tests/get_output_distribution.py')
-rwxr-xr-x | tests/functional_tests/get_output_distribution.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/functional_tests/get_output_distribution.py b/tests/functional_tests/get_output_distribution.py index 061b8dbe2..93822e90a 100755 --- a/tests/functional_tests/get_output_distribution.py +++ b/tests/functional_tests/get_output_distribution.py @@ -28,11 +28,10 @@ # 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 - """Test get_output_distribution RPC """ +from __future__ import print_function from framework.daemon import Daemon from framework.wallet import Wallet @@ -43,7 +42,7 @@ class GetOutputDistributionTest(): self.test_get_output_distribution() def reset(self): - print 'Resetting blockchain' + print('Resetting blockchain') daemon = Daemon() daemon.pop_blocks(1000) daemon.flush_txpool() @@ -56,7 +55,7 @@ class GetOutputDistributionTest(): res = self.wallet.restore_deterministic_wallet(seed = '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') def test_get_output_distribution(self): - print "Test get_output_distribution" + print("Test get_output_distribution") daemon = Daemon() |