Skip to content

Commit

Permalink
2 njobs
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjr committed Jan 24, 2017
1 parent 716deae commit 0c6f14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mne/decoding/tests/test_search_light.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def test_SearchLight():
sl = _SearchLight(LogisticRegression(random_state=0), n_jobs=1,
scoring='roc_auc')
score_1job = sl.fit(X, y).score(X, y)
sl.n_jobs = -1
sl.n_jobs = 2
score_njobs = sl.fit(X, y).score(X, y)
assert_array_equal(score_1job, score_njobs)
sl.predict(X)
Expand Down

0 comments on commit 0c6f14e

Please sign in to comment.