Skip to content

Commit 29a959b

Browse files
author
Guillaume Lemaitre
committed
avoid capturing the warning in logger
1 parent d40299c commit 29a959b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imblearn/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
from six import string_types
2121

22-
22+
logging.captureWarnings(False)
2323
warnings.simplefilter('always', UserWarning)
2424

2525

0 commit comments

Comments
 (0)