python313Packages.pypinyin: migrate to pytest-cov-stub
This commit is contained in:
parent
45a93cc02f
commit
9e833a5b53
@ -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" ];
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user