We test in proto area not in site-packages. --- pyproject_api-1.9.1/tox.ini.orig +++ pyproject_api-1.9.1/tox.ini @@ -27,7 +27,7 @@ COVERAGE_PROCESS_START = {tox_root}/pyproject.toml commands = pytest {tty:--color=yes} {posargs: \ - --junitxml {work_dir}{/}junit.{env_name}.xml --cov {env_site_packages_dir}{/}pyproject_api \ + --junitxml {work_dir}{/}junit.{env_name}.xml --cov pyproject_api \ --cov {tox_root}{/}tests --cov-fail-under=100 \ --cov-config=pyproject.toml --no-cov-on-fail --cov-report term-missing:skip-covered --cov-context=test \ --cov-report html:{env_tmp_dir}{/}htmlcov --cov-report xml:{work_dir}{/}coverage.{env_name}.xml \