diff --git a/pyproject.toml b/pyproject.toml index 68de6c4..f01fbe4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,6 @@ dynamic = ["version"] [project.optional-dependencies] test = [ "pytest", - "pytest-coverage", "coverage", "sphinx", "backports.zoneinfo;python_version<'3.9'", diff --git a/tox.ini b/tox.ini index cd571b6..a3f3dd7 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,7 @@ envlist = py37,py38,py39,py310,py311,py312,docs,style [testenv] deps = --editable .[test] -commands = pytest {posargs:--cov} +commands = coverage run -m pytest [testenv:docs] deps = sphinx