(self)
| 991 | |
| 992 | class ThrowingFloat(np.ndarray): |
| 993 | def __float__(self): |
| 994 | raise TypeError |
| 995 | |
| 996 | throwing_float = np.array(1.0).view(ThrowingFloat) |
| 997 | assert_raises(TypeError, np.random.uniform, throwing_float, |
nothing calls this directly
no outgoing calls
no test coverage detected