From e03f1bb3c44618ba43c8c2833fdb24b2e9bf8923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 27 Aug 2021 05:28:12 +0200 Subject: [PATCH] python39Packages.click-help-colors: use pytestCheckHook --- .../python-modules/click-help-colors/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/click-help-colors/default.nix b/pkgs/development/python-modules/click-help-colors/default.nix index 8fb8bdd2c828..b63788c6060c 100644 --- a/pkgs/development/python-modules/click-help-colors/default.nix +++ b/pkgs/development/python-modules/click-help-colors/default.nix @@ -1,5 +1,5 @@ { lib, fetchPypi, buildPythonPackage -, click, pytest +, click, pytestCheckHook }: buildPythonPackage rec { @@ -13,9 +13,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ click ]; - # tries to use /homeless-shelter to mimic container usage, etc - #doCheck = false; - checkInputs = [ pytest ]; + checkInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "click_help_colors" ];