python3Packages.tokenizers: canonicalize tests

Make handling of tests more like other Python derivations (and they
actually run again).
This commit is contained in:
Daniël de Kok 2021-05-25 17:07:38 +02:00 committed by Jonathan Ringer
parent 1202bf4227
commit 2c5f7b241c

View file

@ -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