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