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