(self)
| 1955 | return np.zeros(shape, dtype=dtype)['x'] |
| 1956 | |
| 1957 | def test_create(self): |
| 1958 | zs = self._zeros(10, bytes) |
| 1959 | assert_equal(zs.itemsize, 0) |
| 1960 | zs = self._zeros(10, np.void) |
| 1961 | assert_equal(zs.itemsize, 0) |
| 1962 | zs = self._zeros(10, str) |
| 1963 | assert_equal(zs.itemsize, 0) |
| 1964 | |
| 1965 | def _test_sort_partition(self, name, kinds, **kwargs): |
| 1966 | # Previously, these would all hang |
nothing calls this directly
no test coverage detected