imblearn/under_sampling/_prototype_selection/_condensed_nearest_neighbour.py

Killed 0 out of 3 mutants

Survived

Survived mutation testing. These mutants show holes in your test suite.

Mutant 241

--- imblearn/under_sampling/_prototype_selection/_condensed_nearest_neighbour.py
+++ imblearn/under_sampling/_prototype_selection/_condensed_nearest_neighbour.py
@@ -95,7 +95,6 @@
     Resampled dataset shape Counter({{-1: 268, 1: 227}}) # doctest: +SKIP
     """
 
-    @_deprecate_positional_args
     def __init__(
         self,
         *,

Mutant 242

--- imblearn/under_sampling/_prototype_selection/_condensed_nearest_neighbour.py
+++ imblearn/under_sampling/_prototype_selection/_condensed_nearest_neighbour.py
@@ -99,7 +99,7 @@
     def __init__(
         self,
         *,
-        sampling_strategy="auto",
+        sampling_strategy="XXautoXX",
         random_state=None,
         n_neighbors=None,
         n_seeds_S=1,

Mutant 243

--- imblearn/under_sampling/_prototype_selection/_condensed_nearest_neighbour.py
+++ imblearn/under_sampling/_prototype_selection/_condensed_nearest_neighbour.py
@@ -102,7 +102,7 @@
         sampling_strategy="auto",
         random_state=None,
         n_neighbors=None,
-        n_seeds_S=1,
+        n_seeds_S=2,
         n_jobs=None,
     ):
         super().__init__(sampling_strategy=sampling_strategy)