diff --git a/pkgs/development/python-modules/cherrypy/default.nix b/pkgs/development/python-modules/cherrypy/default.nix index d9b9d7d4687e..8c437d8cfb32 100644 --- a/pkgs/development/python-modules/cherrypy/default.nix +++ b/pkgs/development/python-modules/cherrypy/default.nix @@ -65,6 +65,10 @@ buildPythonPackage rec { requests-toolbelt ]; + preCheck = '' + export CI=true + ''; + pytestFlagsArray = [ "-W" "ignore::DeprecationWarning"