forked from mirrors/nixpkgs
python3Packages.inform: fix tests
This commit is contained in:
parent
fbec077998
commit
0b58b6ed8e
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue