From 8a3b665c5a49fa62756ca40efa61d5451548225b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 8 May 2021 09:49:58 +0200 Subject: [PATCH] python3Packages.monty: use pytestCheckHook Upstream doesn't use nose. --- pkgs/development/python-modules/monty/default.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/monty/default.nix b/pkgs/development/python-modules/monty/default.nix index 53f139dde34..4690f9f8820 100644 --- a/pkgs/development/python-modules/monty/default.nix +++ b/pkgs/development/python-modules/monty/default.nix @@ -3,7 +3,7 @@ , fetchFromGitHub , pythonOlder , msgpack -, nose +, pytestCheckHook , numpy , pydantic , pymongo @@ -31,7 +31,7 @@ buildPythonPackage rec { ]; checkInputs = [ - nose + pytestCheckHook numpy pydantic pymongo @@ -42,12 +42,6 @@ buildPythonPackage rec { --replace 'self.assertEqual("/usr/bin/find", which("/usr/bin/find"))' '#' ''; - checkPhase = '' - runHook preCheck - nosetests -v - runHook postCheck - ''; - meta = with lib; { description = "Serves as a complement to the Python standard library by providing a suite of tools to solve many common problems"; longDescription = "