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:
parent
2ce1a601bf
commit
80d76c1c15
1 changed files with 5 additions and 5 deletions
|
@ -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" ];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue