From 50a75a4c09fae38d0f4cc3e2d5115a55425e3350 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Fri, 30 Jun 2023 23:30:55 -0700 Subject: [PATCH] python310Packages.cherrypy: set CI environment variable --- pkgs/development/python-modules/cherrypy/default.nix | 4 ++++ 1 file changed, 4 insertions(+) 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"