We test in proto area not in site-packages. --- pipdeptree-2.24.0/tox.ini.orig +++ pipdeptree-2.24.0/tox.ini @@ -27,7 +27,7 @@ COVERAGE_FILE = {work_dir}/.coverage.{env_name} commands = python -m pytest {tty:--color=yes} {posargs: \ - --cov {env_site_packages_dir}{/}pipdeptree --cov {tox_root}{/}tests \ + --cov pipdeptree --cov {tox_root}{/}tests \ --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 \ --junitxml {work_dir}{/}junit.{env_name}.xml \