(self)
| 1744 | return np.zeros(shape, dtype=dtype)['x'] |
| 1745 | |
| 1746 | def test_create(self): |
| 1747 | zs = self._zeros(10, bytes) |
| 1748 | assert_equal(zs.itemsize, 0) |
| 1749 | zs = self._zeros(10, np.void) |
| 1750 | assert_equal(zs.itemsize, 0) |
| 1751 | zs = self._zeros(10, str) |
| 1752 | assert_equal(zs.itemsize, 0) |
| 1753 | |
| 1754 | def _test_sort_partition(self, name, kinds, **kwargs): |
| 1755 | # Previously, these would all hang |
nothing calls this directly
no test coverage detected