On Tue, Oct 16, 2012 at 10:30:30PM +0100, Andreas Mueller wrote:
> I fixed that (I think) here:
> https://github.com/scikit-learn/scikit-learn/commit/7be6c2ce0e9d1d8507dd6230f7603880a322eba7

Fixed another one:

https://github.com/scikit-learn/scikit-learn/commit/f711bf2c2be6ccd92cc7194c425187d87b954c4a

> The warning can not always be caught, even it is raised.
> if you nosetest the file, it works, if you nosetest the folder, it doesn't.
> No idea.

That's because it is raised only the first time, and not the other one.
Because the warning.warn function rasies warnings only once, unless you
declare them as 'always'. I don't have a good solution for this, and will
sleep on it to find ideas.

However, on my box, I get the following additional failure with master:

======================================================================
FAIL: sklearn.tests.test_common.test_clustering
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in
runTest
    self.test(*self.arg)
  File "/home/varoquau/dev/scikit-learn/sklearn/tests/test_common.py",
line 288, in test_clustering
    assert_equal(alg.labels_.shape, (n_samples,))
AssertionError: Tuples differ: (4,) != (150,)

First differing element 0:
4
150

- (4,)
+ (150,)
    """Fail immediately, with the given message."""
>>  raise self.failureException('Tuples differ: (4,) != (150,)\n\nFirst
>>  differing element 0:\n4\n150\n\n- (4,)\n+ (150,)')

G


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to