We test in proto area not in site-packages. --- pyproject_api-1.8.0/tox.ini.orig +++ pyproject_api-1.8.0/tox.ini @@ -29,7 +29,7 @@ _COVERAGE_SRC = {env_site_packages_dir}/sphinx_argparse_cli 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 \