python3Packages.threadpoolctl: Disable failing tests

This commit is contained in:
Martin Weinelt 2022-10-14 16:45:06 +02:00
parent d5d9462614
commit 5f2785ce59
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -22,11 +22,25 @@ buildPythonPackage rec {
sha256 = "sha256-/qt7cgFbvpc1BLZC7a4S0RToqSggKXAqF1Xr6xOqzw8=";
};
checkInputs = [ pytestCheckHook numpy scipy ];
checkInputs = [
pytestCheckHook
numpy
scipy
];
disabledTests = [
# accepts a limited set of cpu models based on project
# developers' hardware
"test_architecture"
# https://github.com/joblib/threadpoolctl/issues/128
"test_threadpool_limits_by_prefix"
"test_controller_info_actualized"
"test_command_line_command_flag"
"test_command_line_import_flag"
];
pythonImportsCheck = [
"threadpoolctl"
];
meta = with lib; {