Skip to content

Commit d40299c

Browse files
author
Guillaume Lemaitre
committed
add some dbg
1 parent 39b458c commit d40299c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

imblearn/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def fit(self, X, y):
9393
np.unique(y).size == 1)
9494
if np.unique(y).size == 1:
9595
warnings.warn('Only one class detected, something will get wrong')
96+
self.logger.debug('The warning should has been raised.')
9697

9798
# Store the size of X to check at sampling time if we have the
9899
# same data

0 commit comments

Comments
 (0)