Skip to content

Commit

Permalink
RF: py.test -> $(PYTHON) -m pytest
Browse files Browse the repository at this point in the history
To assure use of consistent with chosen python pytest.  py-test might
correspond to python2 whenever python3 is used.
  • Loading branch information
yarikoptic committed Apr 20, 2020
1 parent f844734 commit c7efd5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c7efd5b

Please sign in to comment.