diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2020-11-29 13:56:41 -0800 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-12-01 14:44:24 +0100 |
commit | 0b58b6ed8e4873e64d578f63255de61c519eeb3a (patch) | |
tree | f3d46e7684a22a8cf3cb8855c8eff73154c6fec9 | |
parent | fbec07799883e0daed6367cdbf1cd35ada88712a (diff) |
python3Packages.inform: fix tests
-rw-r--r-- | pkgs/development/python-modules/inform/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/inform/default.nix b/pkgs/development/python-modules/inform/default.nix index 158f1161cb4d..7646d25ee425 100644 --- a/pkgs/development/python-modules/inform/default.nix +++ b/pkgs/development/python-modules/inform/default.nix @@ -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"; |