python312Packages.ctranslate2: skip crashing test on darwin

This commit is contained in:
Gaetan Lepage
2025-05-21 18:09:55 +02:00
parent 1362f7bd36
commit 1d34e6827d
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
# build-system
@@ -59,6 +60,11 @@ buildPythonPackage rec {
export HOME=$TMPDIR
'';
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
# Fatal Python error: Aborted
"test_invalid_model_path"
];
disabledTestPaths = [
# TODO: ModuleNotFoundError: No module named 'opennmt'
"tests/test_opennmt_tf.py"