python3Packages.monty: use pytestCheckHook

Upstream doesn't use nose.
This commit is contained in:
Robert Schütz 2021-05-08 09:49:58 +02:00 committed by Jonathan Ringer
parent abf9453516
commit 8a3b665c5a

View file

@ -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 = "