changeset 1041:fddb62eaf217

tests: use $PYTHON to run doctests
author Kevin Bullock <kbullock@ringworld.org>
date Sun, 06 Aug 2017 09:51:47 -0500
parents bafa4c3b7385
children c96bf9e61598
files Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@
 all: help
 
 tests:
-	python -m doctest hggit/*.py contrib/*.py
+	$(PYTHON) -m doctest hggit/*.py contrib/*.py
 	cd tests && $(PYTHON) run-tests.py --with-hg=`which hg` $(TESTFLAGS)
 
 test-%: