From f35639db1f965e2f5a1a67aaf695a4d1a10944ba Mon Sep 17 00:00:00 2001
From: Philip Wilk
Date: Sun, 15 Mar 2026 14:58:13 +0000
Subject: [PATCH] python3Packages.imbalanced-learn: enable tests fixed upstream
---
.../development/python-modules/imbalanced-learn/default.nix | 6 ------
1 file changed, 6 deletions(-)
diff --git a/pkgs/development/python-modules/imbalanced-learn/default.nix b/pkgs/development/python-modules/imbalanced-learn/default.nix
index e22d0de6f104..15ac55cb6783 100644
--- a/pkgs/development/python-modules/imbalanced-learn/default.nix
+++ b/pkgs/development/python-modules/imbalanced-learn/default.nix
@@ -76,12 +76,6 @@ buildPythonPackage rec {
"imblearn/utils/tests/test_min_dependencies.py"
];
- disabledTests = [
- # Broken upstream test https://github.com/scikit-learn-contrib/imbalanced-learn/issues/1131
- "test_estimators_compatibility_sklearn"
- "test_balanced_bagging_classifier_with_function_sampler"
- ];
-
meta = {
description = "Library offering a number of re-sampling techniques commonly used in datasets showing strong between-class imbalance";
homepage = "https://github.com/scikit-learn-contrib/imbalanced-learn";