We test in proto area not in site-packages. --- filelock-3.16.1/tox.ini.orig +++ filelock-3.16.1/tox.ini @@ -28,7 +28,7 @@ COVERAGE_FILE = {toxworkdir}{/}.coverage.{envname} commands = pytest {tty:--color=yes} {posargs: \ - --junitxml {toxworkdir}{/}junit.{envname}.xml --cov {envsitepackagesdir}{/}filelock --cov {toxinidir}{/}tests \ + --junitxml {toxworkdir}{/}junit.{envname}.xml --cov filelock --cov {toxinidir}{/}tests \ --cov-config=pyproject.toml --no-cov-on-fail --cov-report term-missing:skip-covered --cov-context=test \ --cov-report html:{envtmpdir}{/}htmlcov --cov-report xml:{toxworkdir}{/}coverage.{envname}.xml \ tests