From 10b25c2b53acf955668776df7f3138d5caa3d014 Mon Sep 17 00:00:00 2001 From: mdr0id Date: Wed, 4 Dec 2019 07:04:37 -0800 Subject: [PATCH] Update py2 env path, remove py2 assert --- qa/rpc-tests/getblocktemplate.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/qa/rpc-tests/getblocktemplate.py b/qa/rpc-tests/getblocktemplate.py index 1a7205f5a..e55e1e9fd 100755 --- a/qa/rpc-tests/getblocktemplate.py +++ b/qa/rpc-tests/getblocktemplate.py @@ -1,10 +1,8 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2016 The Zcash developers # Distributed under the MIT software license, see the accompanying # file COPYING or https://www.opensource.org/licenses/mit-license.php . -import sys; assert sys.version_info < (3,), ur"This script does not run under Python 3. Please use Python 2.7.x." - from test_framework.test_framework import BitcoinTestFramework from test_framework.util import assert_equal, connect_nodes_bi, \ initialize_chain_clean, start_nodes