From 9e751587c7a3792abab6ac0ff125fdfa671b51d0 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 26 Jul 2018 12:32:07 +0200 Subject: [PATCH] python.pkgs.JPype1: disable tests --- pkgs/development/python-modules/JPype1/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/JPype1/default.nix b/pkgs/development/python-modules/JPype1/default.nix index 879cdb9bd095..d449ae8bbf69 100644 --- a/pkgs/development/python-modules/JPype1/default.nix +++ b/pkgs/development/python-modules/JPype1/default.nix @@ -1,4 +1,4 @@ -{ buildPythonPackage, fetchPypi, isPy3k }: +{ buildPythonPackage, fetchPypi, isPy3k, pytest }: buildPythonPackage rec { pname = "JPype1"; @@ -11,8 +11,10 @@ buildPythonPackage rec { patches = [ ./set-compiler-language.patch ]; - # Test loader complains about non-test module on python3. - doCheck = !isPy3k; + checkInputs = [ pytest ]; + + # ImportError: Failed to import test module: test.testlucene + doCheck = false; meta = { homepage = "https://github.com/originell/jpype/";