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 ];
checkInputs = [ pytest pyyaml ];
checkPhase = "pytest glom/test";
doCheck = !isPy37; # https://github.com/mahmoud/glom/issues/72
# test_cli.py checks the output of running "glom"
checkPhase = "PATH=$out/bin:$PATH pytest glom/test";
meta = with stdenv.lib; {
homepage = "https://github.com/mahmoud/glom";