From a2dc81917b454187f11c478b35e27ca96b21cb76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corn=C3=A9=20Plooy?= Date: Tue, 5 Jun 2018 10:15:55 +0200 Subject: [PATCH] In Debian at least, the Python 3 version of pytest is called pytest-3. Use this executable name to make sure we don't try to use the Python 2 version. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9d107a75342d..5c4c62fb5c8c 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ ifneq ($(NO_COMPAT),1) COMPAT_CFLAGS=-DCOMPAT_V052=1 endif -PYTEST := $(shell command -v pytest 2> /dev/null) +PYTEST := $(shell command -v pytest-3 2> /dev/null) PYTEST_OPTS := -v -x # This is where we add new features as bitcoin adds them.