(self)
| 577 | shape = (10,) |
| 578 | |
| 579 | def setUp(self): |
| 580 | super().setUp() |
| 581 | |
| 582 | # Define the NumPy variables to be used in expression |
| 583 | N = np.prod(self.shape) |
| 584 | self.a = np.arange(N, dtype="int32").reshape(self.shape) |
| 585 | self.b = np.arange(N, dtype="int64").reshape(self.shape) |
| 586 | self.c = np.arange(N, dtype="int32").reshape(self.shape) |
| 587 | self.r1 = np.empty(N, dtype="int64").reshape(self.shape) |
| 588 | |
| 589 | def _test00_shape(self): |
| 590 | """Checking that inconsistent shapes are detected.""" |