[Backport release-26.05] python3Packages.nltk: skip failing test on darwin (#536777)

This commit is contained in:
Gaétan Lepage 2026-06-29 20:27:30 +00:00 committed by GitHub
commit 767de6d388
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,6 @@
{
lib,
stdenv,
pkgs,
fetchPypi,
fetchpatch,
@ -108,6 +109,11 @@ buildPythonPackage rec {
"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 = {