From 20d00c5fe9658ad0c0f307e1ba1a8d076bb89c42 Mon Sep 17 00:00:00 2001 From: hugovk Date: Wed, 1 Nov 2017 23:31:24 +0200 Subject: [PATCH] Update test instructions --- Tests/README.rst | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Tests/README.rst b/Tests/README.rst index 0985e0f26..f0118c629 100644 --- a/Tests/README.rst +++ b/Tests/README.rst @@ -8,7 +8,7 @@ Dependencies Install:: - pip install coverage nose + pip install pytest pytest-cov Execution --------- @@ -21,12 +21,11 @@ To run an individual test:: Run all the tests from the root of the Pillow source distribution:: - nosetests -vx Tests/test_*.py + pytest -vx Tests Or with coverage:: - coverage run --append --include=PIL/* -m nose -vx Tests/test_*.py - coverage report + pytest -vx --cov PIL --cov-report term Tests coverage html open htmlcov/index.html @@ -39,6 +38,3 @@ To run an individual test:: Run all the tests from the root of the Pillow source distribution:: ./test-installed.py - - -