mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Use pytest instead of nose
This commit is contained in:
parent
cdab7f2039
commit
db760c1284
4
Makefile
4
Makefile
|
@ -17,7 +17,7 @@ co:
|
||||||
coverage:
|
coverage:
|
||||||
coverage erase
|
coverage erase
|
||||||
coverage run --parallel-mode --include=PIL/* selftest.py
|
coverage run --parallel-mode --include=PIL/* selftest.py
|
||||||
nosetests --with-cov --cov='PIL/' --cov-report=html Tests/test_*.py
|
python -m pytest --cov PIL --cov-append --cov-report html Tests
|
||||||
# Doesn't combine properly before report, writing report instead of displaying invalid report.
|
# Doesn't combine properly before report, writing report instead of displaying invalid report.
|
||||||
rm -r htmlcov || true
|
rm -r htmlcov || true
|
||||||
coverage combine
|
coverage combine
|
||||||
|
@ -81,7 +81,7 @@ release-test:
|
||||||
$(MAKE) install-req
|
$(MAKE) install-req
|
||||||
python setup.py develop
|
python setup.py develop
|
||||||
python selftest.py
|
python selftest.py
|
||||||
nosetests Tests/test_*.py
|
python -m pytest Tests
|
||||||
python setup.py install
|
python setup.py install
|
||||||
python test-installed.py
|
python test-installed.py
|
||||||
check-manifest
|
check-manifest
|
||||||
|
|
Loading…
Reference in New Issue
Block a user