(self)
| 1247 | |
| 1248 | class ThrowingInteger(np.ndarray): |
| 1249 | def __int__(self): |
| 1250 | raise TypeError |
| 1251 | |
| 1252 | throwing_int = np.array(1).view(ThrowingInteger) |
| 1253 | assert_raises(TypeError, random.hypergeometric, throwing_int, 1, 1) |
nothing calls this directly
no outgoing calls
no test coverage detected