<p dir="auto">Hi! I'm using scipy version 0.18.1 under ubuntu, but when I run scipy.test() in the terminal, it raise the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="======================================================================
ERROR: test_fitpack.TestSplder.test_kink
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/usr/local/lib/python2.7/dist-packages/nose/case.py&quot;, line 197, in runTest
    self.test(*self.arg)
  File &quot;/usr/lib/python2.7/dist-packages/scipy/interpolate/tests/test_fitpack.py&quot;, line 329, in test_kink
    splder(spl2, 2)  # Should work
  File &quot;/usr/lib/python2.7/dist-packages/scipy/interpolate/fitpack.py&quot;, line 1186, in splder
    &quot;and is not differentiable %d times&quot;) % n)
ValueError: The spline has internal repeated knots and is not differentiable 2 times

======================================================================
FAIL: Regression test for #651: better handling of badly conditioned
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/usr/lib/python2.7/dist-packages/scipy/signal/tests/test_filter_design.py&quot;, line 36, in test_bad_filter
    assert_raises(BadCoefficients, tf2zpk, [1e-15], [1.0, 1.0])
  File &quot;/usr/lib/python2.7/dist-packages/numpy/testing/utils.py&quot;, line 1020, in assert_raises
    return nose.tools.assert_raises(*args,**kwargs)
AssertionError: BadCoefficients not raised

----------------------------------------------------------------------
Ran 8936 tests in 50.777s

FAILED (KNOWNFAIL=115, SKIP=199, errors=1, failures=1)
&lt;nose.result.TextTestResult run=8936 errors=1 failures=1&gt;
"><pre class="notranslate"><code class="notranslate">======================================================================
ERROR: test_fitpack.TestSplder.test_kink
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/usr/lib/python2.7/dist-packages/scipy/interpolate/tests/test_fitpack.py", line 329, in test_kink
    splder(spl2, 2)  # Should work
  File "/usr/lib/python2.7/dist-packages/scipy/interpolate/fitpack.py", line 1186, in splder
    "and is not differentiable %d times") % n)
ValueError: The spline has internal repeated knots and is not differentiable 2 times

======================================================================
FAIL: Regression test for #651: better handling of badly conditioned
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/scipy/signal/tests/test_filter_design.py", line 36, in test_bad_filter
    assert_raises(BadCoefficients, tf2zpk, [1e-15], [1.0, 1.0])
  File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 1020, in assert_raises
    return nose.tools.assert_raises(*args,**kwargs)
AssertionError: BadCoefficients not raised

----------------------------------------------------------------------
Ran 8936 tests in 50.777s

FAILED (KNOWNFAIL=115, SKIP=199, errors=1, failures=1)
&lt;nose.result.TextTestResult run=8936 errors=1 failures=1&gt;

</code></pre></div>
<p dir="auto">I don't know how to fix it, can anyone help me? thanks very much!</p>
<p dir="auto">I've recently updated scipy in Fedora to newest 0.13.0 release and I can see one test failure on every architecture, both in python 2 and 3:</p>
<h5 dir="auto">Python 3.3.2</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR: test_fitpack.TestSplder.test_kink
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/builddir/build/BUILDROOT/scipy-0.13.0-1.fc21.arm/usr/lib/python3.3/site-packages/scipy/interpolate/fitpack.py&quot;, line 1178, in splder
    c = (c[1:-1-k] - c[:-2-k]) * k / dt
FloatingPointError: invalid value encountered in true_divide
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File &quot;/usr/lib/python3.3/site-packages/nose/case.py&quot;, line 198, in runTest
    self.test(*self.arg)
  File &quot;/builddir/build/BUILDROOT/scipy-0.13.0-1.fc21.arm/usr/lib/python3.3/site-packages/scipy/interpolate/tests/test_fitpack.py&quot;, line 329, in test_kink
    splder(spl2, 2)  # Should work
  File &quot;/builddir/build/BUILDROOT/scipy-0.13.0-1.fc21.arm/usr/lib/python3.3/site-packages/scipy/interpolate/fitpack.py&quot;, line 1186, in splder
    &quot;and is not differentiable %d times&quot;) % n)
ValueError: The spline has internal repeated knots and is not differentiable 2 times"><pre class="notranslate"><code class="notranslate">ERROR: test_fitpack.TestSplder.test_kink
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILDROOT/scipy-0.13.0-1.fc21.arm/usr/lib/python3.3/site-packages/scipy/interpolate/fitpack.py", line 1178, in splder
    c = (c[1:-1-k] - c[:-2-k]) * k / dt
FloatingPointError: invalid value encountered in true_divide
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/lib/python3.3/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/builddir/build/BUILDROOT/scipy-0.13.0-1.fc21.arm/usr/lib/python3.3/site-packages/scipy/interpolate/tests/test_fitpack.py", line 329, in test_kink
    splder(spl2, 2)  # Should work
  File "/builddir/build/BUILDROOT/scipy-0.13.0-1.fc21.arm/usr/lib/python3.3/site-packages/scipy/interpolate/fitpack.py", line 1186, in splder
    "and is not differentiable %d times") % n)
ValueError: The spline has internal repeated knots and is not differentiable 2 times
</code></pre></div>
<h5 dir="auto">Python 2.7.5</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR: test_fitpack.TestSplder.test_kink
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/usr/lib/python2.7/site-packages/nose/case.py&quot;, line 197, in runTest
    self.test(*self.arg)
  File &quot;/builddir/build/BUILDROOT/scipy-0.13.0-1.fc21.arm/usr/lib/python2.7/site-packages/scipy/interpolate/tests/test_fitpack.py&quot;, line 329, in test_kink
    splder(spl2, 2)  # Should work
  File &quot;/builddir/build/BUILDROOT/scipy-0.13.0-1.fc21.arm/usr/lib/python2.7/site-packages/scipy/interpolate/fitpack.py&quot;, line 1186, in splder
    &quot;and is not differentiable %d times&quot;) % n)
ValueError: The spline has internal repeated knots and is not differentiable 2 times"><pre class="notranslate"><code class="notranslate">ERROR: test_fitpack.TestSplder.test_kink
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/builddir/build/BUILDROOT/scipy-0.13.0-1.fc21.arm/usr/lib/python2.7/site-packages/scipy/interpolate/tests/test_fitpack.py", line 329, in test_kink
    splder(spl2, 2)  # Should work
  File "/builddir/build/BUILDROOT/scipy-0.13.0-1.fc21.arm/usr/lib/python2.7/site-packages/scipy/interpolate/fitpack.py", line 1186, in splder
    "and is not differentiable %d times") % n)
ValueError: The spline has internal repeated knots and is not differentiable 2 times
</code></pre></div>
<h4 dir="auto">Setup</h4>
<p dir="auto">numpy 1.8.0<br>
atlas 3.10.1<br>
blas 3.4.2<br>
lapack 3.4.2</p>
<h4 dir="auto">Build logs:</h4>
<p dir="auto"><a href="http://kojipkgs.fedoraproject.org/packages/scipy/0.13.0/1.fc21/data/logs/armv7hl/build.log" rel="nofollow">http://kojipkgs.fedoraproject.org/packages/scipy/0.13.0/1.fc21/data/logs/armv7hl/build.log</a><br>
<a href="http://kojipkgs.fedoraproject.org/packages/scipy/0.13.0/1.fc21/data/logs/i686/build.log" rel="nofollow">http://kojipkgs.fedoraproject.org/packages/scipy/0.13.0/1.fc21/data/logs/i686/build.log</a><br>
<a href="http://kojipkgs.fedoraproject.org/packages/scipy/0.13.0/1.fc21/data/logs/x86_64/build.log" rel="nofollow">http://kojipkgs.fedoraproject.org/packages/scipy/0.13.0/1.fc21/data/logs/x86_64/build.log</a></p>