(self)
| 1322 | del nd |
| 1323 | |
| 1324 | def test_ndarray_format_scalar(self): |
| 1325 | # ndim = 0: scalar |
| 1326 | for fmt, scalar, _ in iter_format(0): |
| 1327 | itemsize = struct.calcsize(fmt) |
| 1328 | nd = ndarray(scalar, shape=(), format=fmt) |
| 1329 | self.verify(nd, obj=None, |
| 1330 | itemsize=itemsize, fmt=fmt, readonly=True, |
| 1331 | ndim=0, shape=(), strides=(), |
| 1332 | lst=scalar) |
| 1333 | |
| 1334 | def test_ndarray_format_shape(self): |
| 1335 | # ndim = 1, shape = [n] |
nothing calls this directly
no test coverage detected