aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-03-21 13:54:02 -0400
committerJohn Newbery <john@johnnewbery.com>2017-05-03 14:14:04 -0400
commitce58e93ec0bf4ef4a503379e98bd209dd99447eb (patch)
tree081cfaf1f786264e8a605c9a9912d49448a29b10
parent22d870016eb630560c0bd6ba911b764ef46fefc9 (diff)
downloadbitcoin-ce58e93ec0bf4ef4a503379e98bd209dd99447eb.tar.xz
Change bitcoin-util-test.py to use Python3
-rw-r--r--src/Makefile.test.include2
-rwxr-xr-xtest/util/bitcoin-util-test.py3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/Makefile.test.include b/src/Makefile.test.include
index 10cb7e775a..c3302f983c 100644
--- a/src/Makefile.test.include
+++ b/src/Makefile.test.include
@@ -147,7 +147,7 @@ bitcoin_test_clean : FORCE
check-local:
@echo "Running test/util/bitcoin-util-test.py..."
- $(PYTHON) $(top_builddir)/test/util/bitcoin-util-test.py
+ $(top_builddir)/test/util/bitcoin-util-test.py
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C secp256k1 check
if EMBEDDED_UNIVALUE
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C univalue check
diff --git a/test/util/bitcoin-util-test.py b/test/util/bitcoin-util-test.py
index e09a25159d..55d89c3b92 100755
--- a/test/util/bitcoin-util-test.py
+++ b/test/util/bitcoin-util-test.py
@@ -1,9 +1,8 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Copyright 2014 BitPay Inc.
# Copyright 2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
-from __future__ import division,print_function,unicode_literals
import os
import sys
import argparse