pythonPackages.glom: fix tests

This commit is contained in:
Austin Butler 2020-09-19 23:05:42 -07:00 committed by Jon
parent 4e7b124f13
commit 05f994426f

View File

@ -21,9 +21,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [ boltons attrs face ]; propagatedBuildInputs = [ boltons attrs face ];
checkInputs = [ pytest pyyaml ]; checkInputs = [ pytest pyyaml ];
checkPhase = "pytest glom/test"; # test_cli.py checks the output of running "glom"
checkPhase = "PATH=$out/bin:$PATH pytest glom/test";
doCheck = !isPy37; # https://github.com/mahmoud/glom/issues/72
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/mahmoud/glom"; homepage = "https://github.com/mahmoud/glom";