aboutsummaryrefslogtreecommitdiff
path: root/tests/functional_tests/get_output_distribution.py
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-29 11:45:25 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-29 11:59:48 +0000
commit77594c4f4acf58656344fbb2bd84e63da58d2703 (patch)
tree73bcd2d1fa91bd0b0bacbad22385c38e50e636b9 /tests/functional_tests/get_output_distribution.py
parentMerge pull request #5548 (diff)
downloadmonero-77594c4f4acf58656344fbb2bd84e63da58d2703.tar.xz
functional_tests: fix python3 compatibility
Also add missing bans test to the default tests
Diffstat (limited to 'tests/functional_tests/get_output_distribution.py')
-rwxr-xr-xtests/functional_tests/get_output_distribution.py7
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 2a0762d5e..81c606465 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()