The tests modify sys.path instead of relying on the package to be present when running the tests. This can hide issues with package distribution which are only encountered post-release.
It's best to use frameworks like nox/tox to ensure that the software install is properly isolated/packaged prior to deployment and ensure that the tested end-result functions as needed.
The tests modify
sys.pathinstead of relying on the package to be present when running the tests. This can hide issues with package distribution which are only encountered post-release.It's best to use frameworks like
nox/toxto ensure that the software install is properly isolated/packaged prior to deployment and ensure that the tested end-result functions as needed.