diff --git a/pkgs/development/python-modules/censys/default.nix b/pkgs/development/python-modules/censys/default.nix index e06a37721a53..62defd84ef41 100644 --- a/pkgs/development/python-modules/censys/default.nix +++ b/pkgs/development/python-modules/censys/default.nix @@ -8,6 +8,7 @@ parameterized, poetry-core, pytest-mock, + pytest-cov-stub, pytestCheckHook, pythonOlder, requests, @@ -30,14 +31,7 @@ buildPythonPackage rec { hash = "sha256-OP7+jSt4xS71Kcjy5hFzeZ5rlTPtDx22rPr3UwjI5dk="; }; - postPatch = '' - substituteInPlace pytest.ini \ - --replace-fail "--cov" "" - ''; - - build-system = [ - poetry-core - ]; + build-system = [ poetry-core ]; dependencies = [ argcomplete @@ -50,6 +44,7 @@ buildPythonPackage rec { nativeCheckInputs = [ parameterized pytest-mock + pytest-cov-stub pytestCheckHook requests-mock responses