diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 777d3f223b3..480f4fb3e7a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4822,14 +4822,19 @@ in modules // { }; pytestcov = buildPythonPackage (rec { - name = "pytest-cov-2.2.0"; + name = "pytest-cov-2.3.1"; src = pkgs.fetchurl { url = "mirror://pypi/p/pytest-cov/${name}.tar.gz"; - sha256 = "1lf9jsmhqk5nc4w3kzwglmdzjvmi7ajvrsnwv826j3bn0wzx8c92"; + sha256 = "fa0a212283cdf52e2eecc24dd6459bb7687cc29adb60cb84258fab73be8dda0f"; }; - buildInputs = with self; [ covCore pytest ]; + buildInputs = with self; [ covCore pytest virtualenv process-tests helper ]; + + doCheck = false; + checkPhase = '' + py.test tests + ''; meta = { description = "Plugin for coverage reporting with support for both centralised and distributed testing, including subprocesses and multiprocessing";