(self)
| 1239 | |
| 1240 | class ThrowingFloat(np.ndarray): |
| 1241 | def __float__(self): |
| 1242 | raise TypeError |
| 1243 | |
| 1244 | throwing_float = np.array(1.0).view(ThrowingFloat) |
| 1245 | assert_raises(TypeError, random.uniform, throwing_float, |
nothing calls this directly
no outgoing calls
no test coverage detected