Skip to content

Instantly share code, notes, and snippets.

@certik
Created September 4, 2012 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save certik/3625509 to your computer and use it in GitHub Desktop.
Save certik/3625509 to your computer and use it in GitHub Desktop.
(py)vagrant@precise32:~/repos/numpy/tools$ python
Python 2.7.3 (default, Aug 1 2012, 05:16:07)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.test()
Running unit tests for numpy
NumPy version 1.8.0.dev-a72ce7e
NumPy is installed in /home/vagrant/repos/numpy/py/local/lib/python2.7/site-packages/numpy
Python version 2.7.3 (default, Aug 1 2012, 05:16:07) [GCC 4.6.3]
nose version 1.1.2
..............S.........S...................................................................................................................................................................................................................................................................................S...................................................................................................................................S......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K.........................................................................................................................................................................................SSS....................................................................1
................................................................................................................................................................................................................................................K....................................................................................................K......................K..........................................................................................................S............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F................................................................K....................................................
======================================================================
FAIL: test_pareto (test_random.TestRandomDist)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/repos/numpy/py/local/lib/python2.7/site-packages/numpy/random/tests/test_random.py", line 363, in test_pareto
np.testing.assert_array_almost_equal(actual, desired, decimal=15)
File "/home/vagrant/repos/numpy/py/local/lib/python2.7/site-packages/numpy/testing/utils.py", line 811, in assert_array_almost_equal
header=('Arrays are not almost equal to %d decimals' % decimal))
File "/home/vagrant/repos/numpy/py/local/lib/python2.7/site-packages/numpy/testing/utils.py", line 644, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not almost equal to 15 decimals
(mismatch 16.6666666667%)
x: array([[ 2.46852460e+03, 1.41286881e+03],
[ 5.28287797e+07, 6.57720981e+07],
[ 1.40840323e+02, 1.98390255e+05]])
y: array([[ 2.46852460e+03, 1.41286881e+03],
[ 5.28287797e+07, 6.57720981e+07],
[ 1.40840323e+02, 1.98390255e+05]])
----------------------------------------------------------------------
Ran 4449 tests in 23.566s
FAILED (KNOWNFAIL=5, SKIP=8, failures=1)
<nose.result.TextTestResult run=4449 errors=0 failures=1>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment