diff options
Diffstat (limited to 'pkgs/development/python-modules/webcolors/default.nix')
-rw-r--r-- | pkgs/development/python-modules/webcolors/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/webcolors/default.nix b/pkgs/development/python-modules/webcolors/default.nix index ccd4163492f..46498b5950a 100644 --- a/pkgs/development/python-modules/webcolors/default.nix +++ b/pkgs/development/python-modules/webcolors/default.nix @@ -2,7 +2,7 @@ , buildPythonPackage , fetchPypi , pythonOlder -, python +, unittestCheckHook }: buildPythonPackage rec { @@ -17,9 +17,9 @@ buildPythonPackage rec { hash = "sha256-FtBD06CP1qGxt+Pp5iZA0JeQ3OgNK91HkqF1s1/nlKk="; }; - checkPhase = '' - ${python.interpreter} -m unittest discover -s tests - ''; + checkInputs = [ unittestCheckHook ]; + + unittestFlagsArray = [ "-s" "tests" ]; pythonImportsCheck = [ "webcolors" |