python3Packages.tokenizers: canonicalize tests
Make handling of tests more like other Python derivations (and they actually run again).
This commit is contained in:
parent
1202bf4227
commit
2c5f7b241c
|
@ -76,15 +76,12 @@ in buildPythonPackage rec {
|
||||||
numpy
|
numpy
|
||||||
];
|
];
|
||||||
|
|
||||||
installCheckInputs = [
|
checkInputs = [
|
||||||
datasets
|
datasets
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
requests
|
requests
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = false;
|
|
||||||
doInstallCheck = true;
|
|
||||||
|
|
||||||
postUnpack = ''
|
postUnpack = ''
|
||||||
# Add data files for tests, otherwise tests attempt network access.
|
# Add data files for tests, otherwise tests attempt network access.
|
||||||
mkdir $sourceRoot/tests/data
|
mkdir $sourceRoot/tests/data
|
||||||
|
|
Loading…
Reference in a new issue