@@ -28,14 +28,15 @@ buildPythonPackage rec {
2828 };
2929
3030 disabled = !isPy3k;
31− propagatedBuildInputs = [ docutils requests requests_download pytoml ] ++ lib.optional (pythonOlder "3.6") zipfile36;
31+ propagatedBuildInputs = [ docutils requests requests_download pytoml ]
32+ ++ lib.optional (pythonOlder "3.6") zipfile36;
3233
3334 checkInputs = [ pytest testpath responses ];
3435
3536 # Disable test that needs some ini file.
3637 # Disable test that wants hg
3738 checkPhase = ''
38− py.test -k "not test_invalid_classifier and not test_build_sdist"
39+ HOME=$(mktemp -d) pytest -k "not test_invalid_classifier and not test_build_sdist"
3940 '';
4041
4142 meta = {