(self)
| 6230 | assert_almost_equal(res, tgt) |
| 6231 | |
| 6232 | def test_mean_float16(self): |
| 6233 | # This fail if the sum inside mean is done in float16 instead |
| 6234 | # of float32. |
| 6235 | assert_(_mean(np.ones(100000, dtype='float16')) == 1) |
| 6236 | |
| 6237 | def test_mean_axis_error(self): |
| 6238 | # Ensure that AxisError is raised instead of IndexError when axis is |