From c7efd5b79d3b7c3d88795cda4602615f7fc7ae96 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Mon, 20 Apr 2020 11:53:42 -0400 Subject: [PATCH] RF: py.test -> $(PYTHON) -m pytest To assure use of consistent with chosen python pytest. py-test might correspond to python2 whenever python3 is used. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b7107f31f0..03c1152053 100644 --- a/Makefile +++ b/Makefile @@ -56,10 +56,10 @@ inplace: $(PYTHON) setup.py build_ext -i test-code: in - py.test --doctest-modules nipype + $(PYTHON) -m pytest --doctest-modules nipype test-coverage: clean-tests in - py.test --doctest-modules --cov-config .coveragerc --cov=nipype nipype + $(PYTHON) -m pytest --doctest-modules --cov-config .coveragerc --cov=nipype nipype test: tests # just another name tests: clean test-code