(self)
| 94 | assert_raises(ValueError, iinfo, 'f4') |
| 95 | |
| 96 | def test_unsigned_max(self): |
| 97 | types = np.sctypes['uint'] |
| 98 | for T in types: |
| 99 | with np.errstate(over="ignore"): |
| 100 | max_calculated = T(0) - T(1) |
| 101 | assert_equal(iinfo(T).max, max_calculated) |
| 102 | |
| 103 | class TestRepr: |
| 104 | def test_iinfo_repr(self): |
nothing calls this directly
no test coverage detected