Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2b287c3

Browse files
committed
FIX: bug in test_setup. Actually avoid multiprocessing now.
1 parent ae1cfd5 commit 2b287c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/test_setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"""
77

88
import os
9-
if os.name.startswith('win'):
9+
if os.name.startswith('win') or os.name.startswith('nt'):
1010
# During the tests, under Windows, we don't want any multiprocessing
11-
os.environ['JOBLIB_MULTIPROCESSING'] = 0
11+
os.environ['JOBLIB_MULTIPROCESSING'] = '0'

0 commit comments

Comments
 (0)