From 4984eb8b6376823bd6bfb12fc397a19fcffaaad5 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Sun, 22 Dec 2019 12:21:21 -0800 Subject: [PATCH] pythonPackages.mockito: disable tests no longer packaged on pypi --- pkgs/development/python-modules/mockito/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/mockito/default.nix b/pkgs/development/python-modules/mockito/default.nix index 43a512b85fd2..f0673b64ef3a 100644 --- a/pkgs/development/python-modules/mockito/default.nix +++ b/pkgs/development/python-modules/mockito/default.nix @@ -9,12 +9,11 @@ buildPythonPackage rec { sha256 = "2a1cbae9d0aef4ae7586b03f2a463e8c5ba96aa937c0535ced4a5621f851feeb"; }; - # Failing tests due 2to3 - doCheck = !isPy3k; - propagatedBuildInputs = stdenv.lib.optionals (!isPy3k) [ funcsigs ]; checkInputs = [ pytest numpy ]; + # tests are no longer packaged in pypi tarball + doCheck = false; checkPhase = '' pytest '';