python3Packages.monty: use pytestCheckHook
Upstream doesn't use nose.
This commit is contained in:
parent
abf9453516
commit
8a3b665c5a
|
@ -3,7 +3,7 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, msgpack
|
, msgpack
|
||||||
, nose
|
, pytestCheckHook
|
||||||
, numpy
|
, numpy
|
||||||
, pydantic
|
, pydantic
|
||||||
, pymongo
|
, pymongo
|
||||||
|
@ -31,7 +31,7 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
nose
|
pytestCheckHook
|
||||||
numpy
|
numpy
|
||||||
pydantic
|
pydantic
|
||||||
pymongo
|
pymongo
|
||||||
|
@ -42,12 +42,6 @@ buildPythonPackage rec {
|
||||||
--replace 'self.assertEqual("/usr/bin/find", which("/usr/bin/find"))' '#'
|
--replace 'self.assertEqual("/usr/bin/find", which("/usr/bin/find"))' '#'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
runHook preCheck
|
|
||||||
nosetests -v
|
|
||||||
runHook postCheck
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Serves as a complement to the Python standard library by providing a suite of tools to solve many common problems";
|
description = "Serves as a complement to the Python standard library by providing a suite of tools to solve many common problems";
|
||||||
longDescription = "
|
longDescription = "
|
||||||
|
|
Loading…
Reference in New Issue