0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

python313Packages.ratelimit: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt 2025-06-02 05:56:40 +02:00
parent 2ce1a601bf
commit 80d76c1c15

View file

@ -3,6 +3,7 @@
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
pytestCheckHook, pytestCheckHook,
pytest-cov-stub,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -17,11 +18,10 @@ buildPythonPackage rec {
sha256 = "04hy3hhh5xdqcsz0lx8j18zbj88kh5ik4wyi5d3a5sfy2hx70in2"; sha256 = "04hy3hhh5xdqcsz0lx8j18zbj88kh5ik4wyi5d3a5sfy2hx70in2";
}; };
postPatch = '' nativeCheckInputs = [
sed -i "/--cov/d" pytest.ini pytestCheckHook
''; pytest-cov-stub
];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "tests" ]; pytestFlagsArray = [ "tests" ];