(self)
| 3112 | assert_equal(inp.min(), -1e10, err_msg=msg) |
| 3113 | |
| 3114 | def test_lower_align(self): |
| 3115 | # check data that is not aligned to element size |
| 3116 | # i.e doubles are aligned to 4 bytes on i386 |
| 3117 | d = np.zeros(23 * 8, dtype=np.int8)[4:-4].view(np.float64) |
| 3118 | assert_equal(d.max(), d[0]) |
| 3119 | assert_equal(d.min(), d[0]) |
| 3120 | |
| 3121 | def test_reduce_reorder(self): |
| 3122 | # gh 10370, 11029 Some compilers reorder the call to npy_getfloatstatus |
nothing calls this directly
no test coverage detected