Skip to content

Commit c7efd5b

Browse files
committed
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.
1 parent f844734 commit c7efd5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ inplace:
5656
$(PYTHON) setup.py build_ext -i
5757

5858
test-code: in
59-
py.test --doctest-modules nipype
59+
$(PYTHON) -m pytest --doctest-modules nipype
6060

6161
test-coverage: clean-tests in
62-
py.test --doctest-modules --cov-config .coveragerc --cov=nipype nipype
62+
$(PYTHON) -m pytest --doctest-modules --cov-config .coveragerc --cov=nipype nipype
6363

6464
test: tests # just another name
6565
tests: clean test-code

0 commit comments

Comments
 (0)