python313Packages.pypinyin: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt 2025-06-02 05:56:37 +02:00
parent 45a93cc02f
commit 9e833a5b53

View File

@ -3,6 +3,7 @@
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
pytestCheckHook, pytestCheckHook,
pytest-cov-stub,
pythonOlder, pythonOlder,
}: }:
@ -20,12 +21,10 @@ buildPythonPackage rec {
hash = "sha256-kA6h2CPGhoZt8h3KEttegHhmMqVc72IkrkA3PonY3sY="; hash = "sha256-kA6h2CPGhoZt8h3KEttegHhmMqVc72IkrkA3PonY3sY=";
}; };
postPatch = '' nativeCheckInputs = [
substituteInPlace pytest.ini --replace \ pytestCheckHook
"--cov-report term-missing" "" pytest-cov-stub
''; ];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "tests" ]; pytestFlagsArray = [ "tests" ];