From 0fe63581546436a05a7effd7f8f245543c1aedb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Wed, 12 Nov 2025 18:31:57 +0100 Subject: [PATCH] restore assumption that pytest-cov is ubuquitous --- pyproject.toml | 1 + tox.ini | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e06ccbe..aa6ac86 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,7 @@ concurrency = [ covcheck = [ "coverage[toml] ; python_version < '3.11'", "coverage>=7.11.3", + "pytest-cov>=7.0.0", ] test = [ "hypothesis>=6.113.0", diff --git a/tox.ini b/tox.ini index 1e52eb7..15986f5 100644 --- a/tox.ini +++ b/tox.ini @@ -52,7 +52,7 @@ commands = artifact-upload: bash -c "echo 'hello world' > test.txt" # Verify that freethreaded builds are using freethreaded interpreter py313t: python -c "import sys; assert 'free-threading' in sys.version" - covcheck: coverage run --parallel-mode -m pytest --pyargs test_package {posargs} + covcheck: pytest --pyargs test_package {posargs} [testenv:pep8] description = verify pep8