From cb81b81576f2d2af841b680602af23cc53697bed Mon Sep 17 00:00:00 2001 From: mdr0id Date: Wed, 4 Dec 2019 06:59:59 -0800 Subject: [PATCH] Update py3 env path, remove py2 assert --- qa/rpc-tests/disablewallet.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/qa/rpc-tests/disablewallet.py b/qa/rpc-tests/disablewallet.py index f665902ef..6e2e516b0 100755 --- a/qa/rpc-tests/disablewallet.py +++ b/qa/rpc-tests/disablewallet.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2014 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or https://www.opensource.org/licenses/mit-license.php . @@ -7,8 +7,6 @@ # Exercise API with -disablewallet. # -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 initialize_chain_clean, start_nodes