3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.inform: fix tests

This commit is contained in:
Jonathan Ringer 2020-11-29 13:56:41 -08:00 committed by Frederik Rietdijk
parent fbec077998
commit 0b58b6ed8e

View file

@ -3,6 +3,7 @@
, six
, hypothesis
, pytest
, pytestrunner
, pytestCheckHook
}:
@ -17,10 +18,14 @@ buildPythonPackage rec {
sha256 = "02zlprvidkz51aypss4knhv7dbr0sbpz3caqjzf9am2n1jx2viyy";
};
nativeBuildInputs = [ pytestrunner ];
propagatedBuildInputs = [ arrow six ];
checkInputs = [ pytest hypothesis ];
checkPhase = "./test.doctests.py && ./test.inform.py && pytest";
checkPhase = ''
patchShebangs test.doctests.py test.inform.py
./test.doctests.py && ./test.inform.py && pytest
'';
meta = with lib; {
description = "Print and logging utilities";