diff Makefile @ 219:8341f2494b3f

hglib tests: migrate away from (unmaintained) nose
author Mathias De Mare <mathias.de_mare@nokia.com>
date Wed, 08 Mar 2023 17:04:58 +0100
parents b8edcb693518
children
line wrap: on
line diff
--- a/Makefile	Wed Mar 09 15:08:11 2022 +0100
+++ b/Makefile	Wed Mar 08 17:04:58 2023 +0100
@@ -1,4 +1,4 @@
-PYTHON=python
+PYTHON=python3
 help:
 	@echo 'Commonly used make targets:'
 	@echo '  tests - run all tests in the automatic test suite'
@@ -14,4 +14,4 @@
 	TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py -q sdist
 
 tests:
-	$(PYTHON) test.py --with-doctest
+	$(PYTHON) -m unittest discover