diff --git a/pkgs/development/python-modules/nocaselist/default.nix b/pkgs/development/python-modules/nocaselist/default.nix index d5f886ab1a1e..fcad1844e2f6 100644 --- a/pkgs/development/python-modules/nocaselist/default.nix +++ b/pkgs/development/python-modules/nocaselist/default.nix @@ -1,7 +1,7 @@ { lib , buildPythonPackage , fetchPypi -, pytestCheckHook +, pytest7CheckHook , pythonOlder , six }: @@ -23,11 +23,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - pytestCheckHook - ]; - - pytestFlagsArray = [ - "-W" "ignore::pytest.PytestRemovedIn8Warning" + pytest7CheckHook ]; pythonImportsCheck = [