diff --git a/pkgs/development/python-modules/luddite/default.nix b/pkgs/development/python-modules/luddite/default.nix index 5a421d68218a..a41e37244d66 100644 --- a/pkgs/development/python-modules/luddite/default.nix +++ b/pkgs/development/python-modules/luddite/default.nix @@ -5,6 +5,7 @@ setuptools, packaging, pytestCheckHook, + pytest-cov-stub, pytest-mock, }: @@ -22,7 +23,6 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pytest.ini \ - --replace "--cov=luddite --cov-report=html --cov-report=term --no-cov-on-fail" "" \ --replace "--disable-socket" "" ''; @@ -34,6 +34,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook + pytest-cov-stub pytest-mock ];