python3Packages.nltk: skip failing test on darwin

(cherry picked from commit a56d36b39b)
This commit is contained in:
Gaetan Lepage 2026-06-29 16:01:42 +00:00 committed by Sandro Jäckel
commit b3cdd9aa6c
No known key found for this signature in database
GPG key ID: 236B6291555E8401

View file

@ -1,5 +1,6 @@
{
lib,
stdenv,
pkgs,
fetchFromGitHub,
buildPythonPackage,
@ -100,6 +101,11 @@ buildPythonPackage (finalAttrs: {
"nltk/test/unit/test_downloader.py" # Touches network
];
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
# ModuleNotFoundError: No module named '_tkinter'
"test_chartparser_app_uses_pickle_load_not_pickle_load_standard"
];
pythonImportsCheck = [ "nltk" ];
passthru = {