python311Packages.ndindex: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt
2024-08-06 22:28:52 +02:00
parent d263c412e2
commit ea70a0b57d
@@ -11,7 +11,7 @@
# tests
hypothesis,
pytest-cov,
pytest-cov-stub,
pytestCheckHook,
}:
@@ -31,7 +31,7 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace pytest.ini \
--replace "--cov=ndindex/ --cov-report=term-missing --flakes" ""
--replace "--flakes" ""
'';
passthru.optional-dependencies.arrays = [ numpy ];
@@ -40,7 +40,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
hypothesis
pytest-cov # uses cov markers
pytest-cov-stub
pytestCheckHook
] ++ passthru.optional-dependencies.arrays;