diff --git a/pkgs/development/python-modules/imbalanced-learn/default.nix b/pkgs/development/python-modules/imbalanced-learn/default.nix index 9020d2cc12ce..9d1064b6c756 100644 --- a/pkgs/development/python-modules/imbalanced-learn/default.nix +++ b/pkgs/development/python-modules/imbalanced-learn/default.nix @@ -14,7 +14,11 @@ buildPythonPackage rec { checkPhase = '' export HOME=$PWD # skip some tests that fail because of minimal rounding errors - py.test imblearn --ignore=imblearn/metrics/classification.py + # or large dependencies + py.test imblearn -k 'not classification \ + and not _generator \ + and not _forest \ + and not wrong_memory' py.test doc/*.rst '';