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