pythonPackages.pytest*: Move pytest to buildInputs to allow easy overriding pytest

This commit is contained in:
Sandro Jäckel
2021-03-13 09:09:52 +01:00
committed by Frederik Rietdijk
parent 970aea96fa
commit 60a10e0989
45 changed files with 92 additions and 46 deletions
@@ -19,7 +19,9 @@ buildPythonPackage rec {
sha256 = "1hslzzinpwc1zqhbpllqh3sllmiyk69pcycl7ahr0rz3micgwczj";
};
propagatedBuildInputs = [ pytest py-cpuinfo ] ++ lib.optionals (pythonOlder "3.4") [ pathlib statistics ];
buildInputs = [ pytest ];
propagatedBuildInputs = [ py-cpuinfo ] ++ lib.optionals (pythonOlder "3.4") [ pathlib statistics ];
meta = {
description = "Py.test fixture for benchmarking code";