From 2c5f7b241ceceb4e5777124ad73c2f181eb256a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20de=20Kok?= Date: Tue, 25 May 2021 17:07:38 +0200 Subject: [PATCH] python3Packages.tokenizers: canonicalize tests Make handling of tests more like other Python derivations (and they actually run again). --- pkgs/development/python-modules/tokenizers/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/tokenizers/default.nix b/pkgs/development/python-modules/tokenizers/default.nix index 8973d34f5af..544dbf1beaf 100644 --- a/pkgs/development/python-modules/tokenizers/default.nix +++ b/pkgs/development/python-modules/tokenizers/default.nix @@ -76,15 +76,12 @@ in buildPythonPackage rec { numpy ]; - installCheckInputs = [ + checkInputs = [ datasets pytestCheckHook requests ]; - doCheck = false; - doInstallCheck = true; - postUnpack = '' # Add data files for tests, otherwise tests attempt network access. mkdir $sourceRoot/tests/data