imblearn/combine/_smote_tomek.py

Killed 0 out of 4 mutants

Survived

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

Mutant 70

--- imblearn/combine/_smote_tomek.py
+++ imblearn/combine/_smote_tomek.py
@@ -84,7 +84,7 @@
     Resampled dataset shape Counter({{0: 900, 1: 900}})
     """
 
-    _sampling_type = "over-sampling"
+    _sampling_type = "XXover-samplingXX"
 
     @_deprecate_positional_args
     def __init__(

Mutant 71

--- imblearn/combine/_smote_tomek.py
+++ imblearn/combine/_smote_tomek.py
@@ -84,7 +84,7 @@
     Resampled dataset shape Counter({{0: 900, 1: 900}})
     """
 
-    _sampling_type = "over-sampling"
+    _sampling_type = None
 
     @_deprecate_positional_args
     def __init__(

Mutant 72

--- imblearn/combine/_smote_tomek.py
+++ imblearn/combine/_smote_tomek.py
@@ -86,7 +86,6 @@
 
     _sampling_type = "over-sampling"
 
-    @_deprecate_positional_args
     def __init__(
         self,
         *,

Mutant 73

--- imblearn/combine/_smote_tomek.py
+++ imblearn/combine/_smote_tomek.py
@@ -90,7 +90,7 @@
     def __init__(
         self,
         *,
-        sampling_strategy="auto",
+        sampling_strategy="XXautoXX",
         random_state=None,
         smote=None,
         tomek=None,