From b55ea4014e65c871728f3e284cb895e9a30cd57e Mon Sep 17 00:00:00 2001 From: Hugo Date: Wed, 13 Dec 2017 15:49:21 +0200 Subject: [PATCH] Calls pytest directly --- Makefile | 2 +- Tests/README.rst | 4 ++-- tox.ini | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 7d9d34472..bdf7ce9b4 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,7 @@ release-test: python selftest.py python -m pytest Tests python setup.py install - python test-installed.py + python -m pytest -qq check-manifest pyroma . viewdoc diff --git a/Tests/README.rst b/Tests/README.rst index f0118c629..68c001fdd 100644 --- a/Tests/README.rst +++ b/Tests/README.rst @@ -33,8 +33,8 @@ Or with coverage:: To run an individual test:: - ./test-installed.py Tests/test_image.py + pytest Tests/test_image.py Run all the tests from the root of the Pillow source distribution:: - ./test-installed.py + pytest diff --git a/tox.ini b/tox.ini index 84ac7135e..0d2e41765 100644 --- a/tox.ini +++ b/tox.ini @@ -11,4 +11,4 @@ commands = {envpython} setup.py clean {envpython} setup.py build_ext --inplace {envpython} selftest.py - {envpython} test-installed.py --installed + {envpython} -m pytest -qq