diff --git a/pkgs/development/python-modules/chalice/default.nix b/pkgs/development/python-modules/chalice/default.nix index 2e880508e0b4..25b9998433a6 100644 --- a/pkgs/development/python-modules/chalice/default.nix +++ b/pkgs/development/python-modules/chalice/default.nix @@ -10,7 +10,7 @@ , mock , mypy-extensions , pip -, pytestCheckHook +, pytest7CheckHook , pythonOlder , pyyaml , requests @@ -61,15 +61,11 @@ buildPythonPackage rec { nativeCheckInputs = [ hypothesis mock - pytestCheckHook + pytest7CheckHook requests websocket-client ]; - pytestFlagsArray = [ - "-W" "ignore::pytest.PytestRemovedIn8Warning" - ]; - disabledTestPaths = [ # Don't check the templates and the sample app "chalice/templates"