(self)
| 7195 | assert_almost_equal(res, tgt) |
| 7196 | |
| 7197 | def test_mean_float16(self): |
| 7198 | # This fail if the sum inside mean is done in float16 instead |
| 7199 | # of float32. |
| 7200 | assert_(_mean(np.ones(100000, dtype='float16')) == 1) |
| 7201 | |
| 7202 | def test_mean_axis_error(self): |
| 7203 | # Ensure that AxisError is raised instead of IndexError when axis is |