From 0ea7d8950e63aac814465a96af9a4a43eb2bbebc Mon Sep 17 00:00:00 2001
From: Fabian Pedregosa <fabian.pedregosa@inria.fr>
Date: Thu, 5 May 2011 14:35:32 +0200
Subject: [PATCH] FIX: compatibility python2.5

---
 scikits/learn/cluster/tests/test_spectral.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scikits/learn/cluster/tests/test_spectral.py b/scikits/learn/cluster/tests/test_spectral.py
index fc3ef7bc62..e971d154da 100644
--- a/scikits/learn/cluster/tests/test_spectral.py
+++ b/scikits/learn/cluster/tests/test_spectral.py
@@ -4,7 +4,7 @@ import numpy as np
 from numpy.testing import assert_equal
 from scipy import sparse
 import nose
-from cPickle import loads
+from pickle import loads # don't use cPickle, compatibility with python2.5
 from cPickle import dumps
 
 from .. import SpectralClustering
-- 
GitLab