<p dir="auto">On Ubuntu 12.04</p>
<p dir="auto">python -c "import sklearn; sklearn.test()"<br>
Running unit tests and doctests for sklearn<br>
/usr/local/lib/python2.7/dist-packages/nose/util.py:14: DeprecationWarning: The compiler package is deprecated and removed in Python 3.x.<br>
from compiler.consts import CO_GENERATOR<br>
NumPy version 1.6.1<br>
NumPy is installed in /usr/lib/python2.7/dist-packages/numpy<br>
Python version 2.7.3 (default, Aug  1 2012, 05:16:07) [GCC 4.6.3]<br>
nose version 1.2.1<br>
I: Seeding RNGs with 756615311<br>
......................................................S.2.17927109077 55.4082834902<br>
........None<br>
..............EE..SS........................................................S.......................................................SEE....................................................../usr/local/lib/python2.7/dist-packages/sklearn/externals/joblib/test/test_func_inspect.py:122: UserWarning: Cannot inspect object &lt;functools.partial object at 0xaf2cfcc&gt;, ignore list will not work.<br>
nose.tools.assert_equal(filter_args(ff, ['y'], (1, )),<br>
.........................................................................................________________________________________________________________________________<br>
test_memory setup</p>
<hr>
<hr>
<p dir="auto">test_memory teardown</p>
<hr>
<p dir="auto">..________________________________________________________________________________<br>
test_memory setup</p>
<hr>
<p dir="auto">..........................................................................................................................________________________________________________________________________________<br>
test_memory teardown</p>
<hr>
<p dir="auto">.________________________________________________________________________________<br>
setup numpy_pickle</p>
<hr>
<p dir="auto">.....................................Exception AttributeError: AttributeError("'NoneType' object has no attribute 'tell'",) in &lt;bound method memmap.<strong>del</strong> of memmap(1.7066903169e-313)&gt; ignored<br>
Exception AttributeError: AttributeError("'NoneType' object has no attribute 'tell'",) in &lt;bound method memmap.<strong>del</strong> of memmap(1.7065495094e-313)&gt; ignored<br>
/usr/local/lib/python2.7/dist-packages/sklearn/externals/joblib/test/test_numpy_pickle.py:182: Warning: file "/tmp/tmpevHBa9/test.pkl30" appears to be a zip, ignoring mmap_mode "r" flag passed<br>
numpy_pickle.load(this_filename, mmap_mode='r')<br>
Exception AttributeError: AttributeError("'NoneType' object has no attribute 'tell'",) in &lt;bound method memmap.<strong>del</strong> of memmap(1.7065550512e-313)&gt; ignored<br>
.....________________________________________________________________________________<br>
teardown numpy_pickle</p>
<hr>
<p dir="auto">............An unexpected error occurred while tokenizing input<br>
The following traceback may be corrupted or invalid<br>
The error message is: ('EOF in multi-line statement', (39, 0))</p>
<p dir="auto">......................................................................................................EE........S........................---</p>
<h1 dir="auto">.........................................................................................................................................................................................................................................................................................................................................................................EEE.................FE............................................................................................................SSS....S....S............................................................................................EE</h1>
<h2 dir="auto">ERROR: Doctest: sklearn.datasets.base.load_sample_image</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br>
delattr(builtin_mod, self._result_var)<br>
AttributeError: _</p>
<h1 dir="auto"></h1>
<h2 dir="auto">ERROR: Doctest: sklearn.datasets.base.load_sample_images</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br>
delattr(builtin_mod, self._result_var)<br>
AttributeError: _</p>
<h1 dir="auto"></h1>
<h2 dir="auto">ERROR: Doctest: sklearn.ensemble.gradient_boosting.GradientBoostingClassifier</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br>
delattr(builtin_mod, self._result_var)<br>
AttributeError: _</p>
<h1 dir="auto"></h1>
<h2 dir="auto">ERROR: Doctest: sklearn.ensemble.gradient_boosting.GradientBoostingRegressor</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br>
delattr(builtin_mod, self._result_var)<br>
AttributeError: _</p>
<h1 dir="auto"></h1>
<h2 dir="auto">ERROR: Doctest: sklearn.linear_model.randomized_l1.RandomizedLasso</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br>
delattr(builtin_mod, self._result_var)<br>
AttributeError: _</p>
<h1 dir="auto"></h1>
<h2 dir="auto">ERROR: Doctest: sklearn.linear_model.randomized_l1.RandomizedLogisticRegression</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br>
delattr(builtin_mod, self._result_var)<br>
AttributeError: _</p>
<h1 dir="auto"></h1>
<h2 dir="auto">ERROR: Doctest: sklearn.tree.tree.DecisionTreeClassifier</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br>
delattr(builtin_mod, self._result_var)<br>
AttributeError: _</p>
<h1 dir="auto"></h1>
<h2 dir="auto">ERROR: Doctest: sklearn.tree.tree.DecisionTreeRegressor</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br>
delattr(builtin_mod, self._result_var)<br>
AttributeError: _</p>
<h1 dir="auto"></h1>
<h2 dir="auto">ERROR: Doctest: sklearn.tree.tree.export_graphviz</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br>
delattr(builtin_mod, self._result_var)<br>
AttributeError: _</p>
<h1 dir="auto"></h1>
<h2 dir="auto">ERROR: Doctest: sklearn.utils.extmath.pinvh</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br>
delattr(builtin_mod, self._result_var)<br>
AttributeError: _</p>
<h1 dir="auto"></h1>
<h2 dir="auto">ERROR: Doctest: sklearn._NoseTester.test</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br>
delattr(builtin_mod, self._result_var)<br>
AttributeError: _</p>
<h1 dir="auto"></h1>
<h2 dir="auto">ERROR: Doctest: sklearn.test</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br>
delattr(builtin_mod, self._result_var)<br>
AttributeError: _</p>
<h1 dir="auto"></h1>
<h2 dir="auto">FAIL: Doctest: sklearn.utils.extmath.pinvh</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "/usr/lib/python2.7/doctest.py", line 2201, in runTest<br>
raise self.failureException(self.format_failure(new.getvalue()))<br>
AssertionError: Failed doctest test for sklearn.utils.extmath.pinvh<br>
File "/usr/local/lib/python2.7/dist-packages/sklearn/utils/extmath.py", line 302, in pinvh</p>
<hr>
<p dir="auto">File "/usr/local/lib/python2.7/dist-packages/sklearn/utils/extmath.py", line 336, in sklearn.utils.extmath.pinvh<br>
Failed example:<br>
B = pinvh(a)<br>
Exception raised:<br>
Traceback (most recent call last):<br>
File "/usr/lib/python2.7/doctest.py", line 1289, in __run<br>
compileflags, 1) in test.globs<br>
File "&lt;doctest sklearn.utils.extmath.pinvh[3]&gt;", line 1, in <br>
B = pinvh(a)</p>
<h2 dir="auto">NameError: name 'pinvh' is not defined</h2>
<p dir="auto">File "/usr/local/lib/python2.7/dist-packages/sklearn/utils/extmath.py", line 337, in sklearn.utils.extmath.pinvh<br>
Failed example:<br>
allclose(a, dot(a, dot(B, a)))<br>
Exception raised:<br>
Traceback (most recent call last):<br>
File "/usr/lib/python2.7/doctest.py", line 1289, in __run<br>
compileflags, 1) in test.globs<br>
File "&lt;doctest sklearn.utils.extmath.pinvh[4]&gt;", line 1, in <br>
allclose(a, dot(a, dot(B, a)))</p>
<h2 dir="auto">NameError: name 'B' is not defined</h2>
<p dir="auto">File "/usr/local/lib/python2.7/dist-packages/sklearn/utils/extmath.py", line 339, in sklearn.utils.extmath.pinvh<br>
Failed example:<br>
allclose(B, dot(B, dot(a, B)))<br>
Exception raised:<br>
Traceback (most recent call last):<br>
File "/usr/lib/python2.7/doctest.py", line 1289, in __run<br>
compileflags, 1) in test.globs<br>
File "&lt;doctest sklearn.utils.extmath.pinvh[5]&gt;", line 1, in <br>
allclose(B, dot(B, dot(a, B)))<br>
NameError: name 'B' is not defined</p>
<hr>
<p dir="auto">Ran 1255 tests in 85.175s</p>
<p dir="auto">FAILED (SKIP=11, errors=12, failures=1)</p>
<p dir="auto">On Ubuntu 12.04</p>
<pre class="notranslate"> python -c "import sklearn; sklearn.test()"
Running unit tests and doctests for sklearn
/usr/local/lib/python2.7/dist-packages/nose/util.py:14: DeprecationWarning: The compiler package is deprecated and removed in Python 3.x.
  from compiler.consts import CO_GENERATOR
NumPy version 1.6.1
NumPy is installed in /usr/lib/python2.7/dist-packages/numpy
Python version 2.7.3 (default, Aug  1 2012, 05:16:07) [GCC 4.6.3]
nose version 1.2.1
I: Seeding RNGs with 756615311
......................................................S.2.17927109077 55.4082834902
........None
..............EE..SS........................................................S.......................................................SEE....................................................../usr/local/lib/python2.7/dist-packages/sklearn/externals/joblib/test/test_func_inspect.py:122: UserWarning: Cannot inspect object , ignore list will not work.
  nose.tools.assert_equal(filter_args(ff, ['y'], (1, )),
.........................................................................................________________________________________________________________________________
test_memory setup
________________________________________________________________________________
________________________________________________________________________________
test_memory teardown
________________________________________________________________________________
..________________________________________________________________________________
test_memory setup
________________________________________________________________________________
..........................................................................................................................________________________________________________________________________________
test_memory teardown
________________________________________________________________________________
.________________________________________________________________________________
setup numpy_pickle
________________________________________________________________________________
.....................................Exception AttributeError: AttributeError("'NoneType' object has no attribute 'tell'",) in  ignored
Exception AttributeError: AttributeError("'NoneType' object has no attribute 'tell'",) in  ignored
/usr/local/lib/python2.7/dist-packages/sklearn/externals/joblib/test/test_numpy_pickle.py:182: Warning: file "/tmp/tmpevHBa9/test.pkl30" appears to be a zip, ignoring mmap_mode "r" flag passed
  numpy_pickle.load(this_filename, mmap_mode='r')
Exception AttributeError: AttributeError("'NoneType' object has no attribute 'tell'",) in  ignored
.....________________________________________________________________________________
teardown numpy_pickle
________________________________________________________________________________
............An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (39, 0))

......................................................................................................EE........S........................---
.........................................................................................................................................................................................................................................................................................................................................................................EEE.................FE............................................................................................................SSS....S....S............................................................................................EE
======================================================================
ERROR: Doctest: sklearn.datasets.base.load_sample_image
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.datasets.base.load_sample_images
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.ensemble.gradient_boosting.GradientBoostingClassifier
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.ensemble.gradient_boosting.GradientBoostingRegressor
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.linear_model.randomized_l1.RandomizedLasso
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.linear_model.randomized_l1.RandomizedLogisticRegression
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.tree.tree.DecisionTreeClassifier
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.tree.tree.DecisionTreeRegressor
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.tree.tree.export_graphviz
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.utils.extmath.pinvh
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn._NoseTester.test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
FAIL: Doctest: sklearn.utils.extmath.pinvh
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/doctest.py", line 2201, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for sklearn.utils.extmath.pinvh
  File "/usr/local/lib/python2.7/dist-packages/sklearn/utils/extmath.py", line 302, in pinvh

----------------------------------------------------------------------
File "/usr/local/lib/python2.7/dist-packages/sklearn/utils/extmath.py", line 336, in sklearn.utils.extmath.pinvh
Failed example:
    B = pinvh(a)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "", line 1, in 
        B = pinvh(a)
    NameError: name 'pinvh' is not defined
----------------------------------------------------------------------
File "/usr/local/lib/python2.7/dist-packages/sklearn/utils/extmath.py", line 337, in sklearn.utils.extmath.pinvh
Failed example:
    allclose(a, dot(a, dot(B, a)))
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "", line 1, in 
        allclose(a, dot(a, dot(B, a)))
    NameError: name 'B' is not defined
----------------------------------------------------------------------
File "/usr/local/lib/python2.7/dist-packages/sklearn/utils/extmath.py", line 339, in sklearn.utils.extmath.pinvh
Failed example:
    allclose(B, dot(B, dot(a, B)))
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "", line 1, in 
        allclose(B, dot(B, dot(a, B)))
    NameError: name 'B' is not defined


----------------------------------------------------------------------
Ran 1255 tests in 85.175s

FAILED (SKIP=11, errors=12, failures=1)

</pre>