Skip to content
Snippets Groups Projects
Commit 1748d0e1 authored by Gael Varoquaux's avatar Gael Varoquaux
Browse files

TST: avoid a crash in Windows + Anaconda Py3.3

The crash is due to a numpy bug in np.load, that is called by joblib
caching. We work around it by avoiding the call to np.load
parent 5902a9e6
Branches
Tags
No related merge requests found
......@@ -87,6 +87,8 @@ def test_ward_clustering():
clustering.fit(X)
labels = clustering.labels_
assert_true(np.size(np.unique(labels)) == 10)
# Turn caching off now
clustering = Ward(n_clusters=10, connectivity=connectivity)
# Check that we obtain the same solution with early-stopping of the
# tree building
clustering.compute_full_tree = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment