Skip to content

Commit 274d10a

Browse files
ergamueller
authored andcommitted
COSMIT: Better assert.
1 parent 61447db commit 274d10a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/ensemble/tests/test_forest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ def test_parallel_train():
440440
probas.append(proba)
441441

442442
for proba1, proba2 in zip(probas, probas[1:]):
443-
assert np.allclose(proba1, proba2)
443+
assert_true(np.allclose(proba1, proba2))
444444

445445

446446
if __name__ == "__main__":

0 commit comments

Comments
 (0)