diff --git a/pkgs/development/python-modules/ndindex/default.nix b/pkgs/development/python-modules/ndindex/default.nix index ee44e9b1544c..5bd31f3042a1 100644 --- a/pkgs/development/python-modules/ndindex/default.nix +++ b/pkgs/development/python-modules/ndindex/default.nix @@ -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;