numpy/numpy — pull request #425 by certik (2012-09-04 21:48:40+00:00)
Title: FIX: make the test_pareto() robust

Fixes #424

The problem was that in 32bit Ubuntu 12.04, one gets the following:

> /home/njs/numpy/.tox/py27/local/lib/python2.7/site-packages/numpy/random/tests/test_random.py(363)test_pareto()
-> np.testing.assert_array_almost_equal(actual, desired, decimal=15)
(Pdb) actual[1, 0]
52828779.702948704
(Pdb) desired[1, 0]
52828779.702948518

and the test was comparing the numbers to 1e-14, which obviously failed.
Now we compare them to 1e-6, which works.