Skip to content

Commit

Permalink
TST: for numpy.random test, back off test precision a little.
Browse files Browse the repository at this point in the history
This test was reported to be failing once for 1.6.2rc1, test precision may be
set slightly too agressive.
  • Loading branch information
rgommers committed May 19, 2012
1 parent 3e12806 commit 5982e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/random/tests/test_random.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def test_pareto(self):
desired = np.array([[ 2.46852460439034849e+03, 1.41286880810518346e+03],
[ 5.28287797029485181e+07, 6.57720981047328785e+07],
[ 1.40840323350391515e+02, 1.98390255135251704e+05]])
np.testing.assert_array_almost_equal(actual, desired, decimal=15)
np.testing.assert_array_almost_equal(actual, desired, decimal=14)

def test_poisson(self):
np.random.seed(self.seed)
Expand Down

0 comments on commit 5982e1b

Please sign in to comment.