(self)
| 165 | return '{:#.0f} {}'.format(n_units, unit_name) |
| 166 | |
| 167 | def __str__(self): |
| 168 | size_str = self._size_to_string(self._total_size) |
| 169 | return ( |
| 170 | "Unable to allocate {} for an array with shape {} and data type {}" |
| 171 | .format(size_str, self.shape, self.dtype) |
| 172 | ) |
nothing calls this directly
no test coverage detected