diff --git a/.appveyor.yml b/.appveyor.yml index 95d816a98..bbf1061c9 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -72,7 +72,7 @@ build_script: test_script: - cd c:\pillow - '%PYTHON%\%PIP_DIR%\pip.exe install pytest pytest-cov' -- '%PYTHON%\%EXECUTABLE% -m pytest -vx --cov PIL --cov-report term --cov-report xml Tests' +- '%PYTHON%\%EXECUTABLE% -m pytest -vx --cov src/PIL --cov-report term --cov-report xml Tests' #- '%PYTHON%\%EXECUTABLE% test-installed.py -v -s %TEST_OPTIONS%' TODO TEST_OPTIONS with pytest? after_test: diff --git a/.travis/script.sh b/.travis/script.sh index d6e02f01d..8d6bc0e91 100755 --- a/.travis/script.sh +++ b/.travis/script.sh @@ -7,7 +7,7 @@ make clean make install-coverage python selftest.py -python -m pytest -vx --cov PIL --cov-report term Tests +python -m pytest -vx --cov src/PIL --cov-report term Tests pushd /tmp/check-manifest && check-manifest --ignore ".coveragerc,.editorconfig,*.yml,*.yaml,tox.ini" && popd diff --git a/Tests/README.rst b/Tests/README.rst index 44f6f4792..77e86ad08 100644 --- a/Tests/README.rst +++ b/Tests/README.rst @@ -25,7 +25,7 @@ Run all the tests from the root of the Pillow source distribution:: Or with coverage:: - pytest -vx --cov PIL --cov-report term Tests + pytest -vx --cov src/PIL --cov-report term Tests coverage html open htmlcov/index.html