diff --git a/copier-template/tox.ini.jinja b/copier-template/tox.ini.jinja
index 7573351cde53c0c07b906c91850d98fccb1aa04d..b14431ba31400d20eac8ef0637e71b9fcee219a4 100644
--- a/copier-template/tox.ini.jinja
+++ b/copier-template/tox.ini.jinja
@@ -7,20 +7,17 @@ envlist =
   py3
 
 [testenv]
+usedevelop = true
 extras =
   testing
 deps =
   pytest-cov
 commands =
   pytest --doctest-modules \
-         --rootdir {envsitepackagesdir} \
-         --cov={envsitepackagesdir}/{{ package_root }} \
+         --cov={{ package_root }} \
          --cov-branch \
-         {envsitepackagesdir}/{{ package_root }} \
+         {{ package_root }} \
          {posargs}
-# --rootdir (with --import-mode from pytest.ini) are required to make tests
-# that depends on the test file to be a proper submodule of the swh namespace
-# after migration to PEP420 (implicit namespace).
 
 [testenv:black]
 skip_install = true