Update pytest and pytest-cov
[cached-property.git] / Makefile
index 93eca69b9010a5d0b4d9fa299ca412d05854f6e5..2446d517f1e14f18cd72abcf9380460c76dd5e82 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -25,16 +25,16 @@ clean-pyc:
        find . -name '*~' -exec rm -f {} +
 
 lint:
-       flake8 cached-property tests
+       flake8 cached_property.py tests
 
 test:
-       python setup.py test
+       py.test
 
 test-all:
        tox
 
 coverage:
-       coverage run --source cached-property setup.py test
+       py.test --cov cached_property
        coverage report -m
        coverage html
        open htmlcov/index.html