(self)
| 665 | def test_0d_generic_special_case(self): |
| 666 | class ArraySubclass(np.ndarray): |
| 667 | def __float__(self): |
| 668 | raise TypeError("e.g. quantities raise on this") |
| 669 | |
| 670 | arr = np.array(0.) |
| 671 | obj = arr.view(ArraySubclass) |
nothing calls this directly
no outgoing calls
no test coverage detected