Bug#1094132: zarr: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.13" returned exit code 13

Lucas Nussbaum lucas at debian.org
Fri Jan 24 20:32:50 GMT 2025


Source: zarr
Version: 2.18.4+ds-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20250124 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/build/reproducible-path/zarr-2.18.4+ds'
> I: pybuild base:311: echo /build/reproducible-path/zarr-2.18.4+ds/.pybuild/cpython3_3.13_zarr/build
> cd /build/reproducible-path/zarr-2.18.4+ds/.pybuild/cpython3_3.13_zarr/build && \
> PYTHONPATH=. \
> LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 \
> sphinx-build -N -E -T -b html /build/reproducible-path/zarr-2.18.4+ds/docs /build/reproducible-path/zarr-2.18.4+ds/.pybuild/docs/html
> Running Sphinx v8.1.3
> loading translations [en]... done
> making output directory... done
> Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`.
> [autosummary] generating autosummary for: acknowledgments.rst, api.rst, api/attrs.rst, api/codecs.rst, api/convenience.rst, api/core.rst, api/creation.rst, api/hierarchy.rst, api/n5.rst, api/storage.rst, ..., getting_started.rst, index.rst, installation.rst, license.rst, release.rst, spec.rst, spec/v1.rst, spec/v2.rst, spec/v3.rst, tutorial.rst
> loading intersphinx inventory 'python' from https://docs.python.org/objects.inv ...
> loading intersphinx inventory 'numpy' from https://numpy.org/doc/stable/objects.inv ...
> loading intersphinx inventory 'numcodecs' from https://numcodecs.readthedocs.io/en/stable/objects.inv ...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://numcodecs.readthedocs.io/en/stable/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='numcodecs.readthedocs.io', port=443): Max retries exceeded with url: /en/stable/objects.inv (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f21abff1160>: Failed to establish a new connection: [Errno 111] Connection refused')))
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://numpy.org/doc/stable/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='numpy.org', port=443): Max retries exceeded with url: /doc/stable/objects.inv (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f21abc48410>: Failed to establish a new connection: [Errno 111] Connection refused')))
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://docs.python.org/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /objects.inv (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f21abdcd310>: Failed to establish a new connection: [Errno 111] Connection refused')))
> [automodsumm] api/core.rst: found 1 automodsumm entries to generate
> building [mo]: targets for 0 po files that are out of date
> writing output... 
> building [html]: targets for 23 source files that are out of date
> updating environment: [new config] 24 added, 0 changed, 0 removed
> reading sources... [  4%] _autoapi/zarr.core.Array
> reading sources... [  8%] acknowledgments
> reading sources... [ 12%] api
> reading sources... [ 17%] api/attrs
> reading sources... [ 21%] api/codecs
> reading sources... [ 25%] api/convenience
> reading sources... [ 29%] api/core
> reading sources... [ 33%] api/creation
> reading sources... [ 38%] api/hierarchy
> reading sources... [ 42%] api/n5
> reading sources... [ 46%] api/storage
> reading sources... [ 50%] api/sync
> reading sources... [ 54%] api/v3
> reading sources... [ 58%] contributing
> reading sources... [ 62%] getting_started
> reading sources... [ 67%] index
> reading sources... [ 71%] installation
> reading sources... [ 75%] license
> reading sources... [ 79%] release
> reading sources... [ 83%] spec
> reading sources... [ 88%] spec/v1
> reading sources... [ 92%] spec/v2
> reading sources... [ 96%] spec/v3
> reading sources... [100%] tutorial
> 
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> copying assets... 
> copying static files... 
> Writing evaluated template result to /build/reproducible-path/zarr-2.18.4+ds/.pybuild/docs/html/_static/documentation_options.js
> Writing evaluated template result to /build/reproducible-path/zarr-2.18.4+ds/.pybuild/docs/html/_static/basic.css
> Writing evaluated template result to /build/reproducible-path/zarr-2.18.4+ds/.pybuild/docs/html/_static/language_data.js
> Writing evaluated template result to /build/reproducible-path/zarr-2.18.4+ds/.pybuild/docs/html/_static/copybutton.js
> copying static files: done
> copying extra files... 
> copying extra files: done
> copying assets: done
> writing output... [  4%] _autoapi/zarr.core.Array
> writing output... [  8%] acknowledgments
> writing output... [ 12%] api
> writing output... [ 17%] api/attrs
> writing output... [ 21%] api/codecs
> writing output... [ 25%] api/convenience
> writing output... [ 29%] api/core
> writing output... [ 33%] api/creation
> writing output... [ 38%] api/hierarchy
> writing output... [ 42%] api/n5
> writing output... [ 46%] api/storage
> writing output... [ 50%] api/sync
> writing output... [ 54%] api/v3
> writing output... [ 58%] contributing
> writing output... [ 62%] getting_started
> writing output... [ 67%] index
> writing output... [ 71%] installation
> writing output... [ 75%] license
> writing output... [ 79%] release
> writing output... [ 83%] spec
> writing output... [ 88%] spec/v1
> writing output... [ 92%] spec/v2
> writing output... [ 96%] spec/v3
> writing output... [100%] tutorial
> 
> generating indices... genindex py-modindex done
> highlighting module code... [  8%] zarr._storage.absstore
> highlighting module code... [ 17%] zarr._storage.store
> highlighting module code... [ 25%] zarr._storage.v3
> highlighting module code... [ 33%] zarr._storage.v3_storage_transformers
> highlighting module code... [ 42%] zarr.attrs
> highlighting module code... [ 50%] zarr.convenience
> highlighting module code... [ 58%] zarr.core
> highlighting module code... [ 67%] zarr.creation
> highlighting module code... [ 75%] zarr.hierarchy
> highlighting module code... [ 83%] zarr.n5
> highlighting module code... [ 92%] zarr.storage
> highlighting module code... [100%] zarr.sync
> 
> writing additional pages... search done
> copying images... [ 25%] _static/index_getting_started.svg
> copying images... [ 50%] _static/index_user_guide.svg
> copying images... [ 75%] _static/index_api.svg
> copying images... [100%] _static/index_contribute.svg
> 
> dumping search index in English (code: en)... done
> dumping object inventory... done
> Highlighting style a11y-high-contrast-light not found by pygments, falling back to tango.
> Highlighting style a11y-high-contrast-dark not found by pygments, falling back to monokai.
> build succeeded, 3 warnings.
> 
> The HTML pages are in ../../docs/html.
> rm -rf /build/reproducible-path/zarr-2.18.4+ds/.pybuild/docs/html/.doctrees
> make[1]: Leaving directory '/build/reproducible-path/zarr-2.18.4+ds'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd /build/reproducible-path/zarr-2.18.4+ds/.pybuild/cpython3_3.12_zarr/build; python3.12 -m pytest -k "not test_hierarchy and not test_complex and not test_array_with_delta_filter and not test_utf8_encoding and not [static_flat] and not [static_nested] and not [static_flat_legacy] and not [static_nested_legacy] and not test_meta_prefix_6853 and not test_encode_decode_array_dtype_shape_v3" --pyargs zarr
> ============================= test session starts ==============================
> platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
> rootdir: /build/reproducible-path/zarr-2.18.4+ds/.pybuild/cpython3_3.12_zarr/build
> configfile: pyproject.toml
> plugins: doctestplus-1.3.0, timeout-2.3.1, typeguard-4.4.1
> collected 4975 items / 717 deselected / 4258 selected
> 
> zarr/tests/test_attrs.py ..................                              [  0%]
> zarr/tests/test_convenience.py .....ss...................ssssssss.s..... [  1%]
> .......................................................sssssssssssssssss [  3%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [  4%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [  6%]
> sssssssssssssssssss                                                      [  6%]
> zarr/tests/test_core.py ................................................ [  8%]
> ........................................................................ [  9%]
> .....................................................................sss [ 11%]
> ssssssssssssssssssssssssssssssssssssssssssss............................ [ 13%]
> ........................................................................ [ 14%]
> ........................................................................ [ 16%]
> ..................ssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 18%]
> ssssssssssssssssssssssssssssssssssssssss................................ [ 19%]
> ........................................................................ [ 21%]
> ........................................................................ [ 23%]
> ........................................................................ [ 24%]
> ........................................................................ [ 26%]
> ........................................................................ [ 28%]
> ........................................................................ [ 30%]
> ..............................................................FF.FFFFF.. [ 31%]
> FFFFF...F....FFFFF......s.FF....FFF..................................... [ 33%]
> ...............FF.FFFFF..FFFFF...F....FFFFF......s.FF....FFFssssssssssss [ 35%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 36%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 38%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 40%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 41%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 43%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 45%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 46%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 48%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 50%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 51%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 53%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 55%]
> sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss. [ 57%]
> .....                                                                    [ 57%]
> zarr/tests/test_creation.py ............................................ [ 58%]
> .......................................ss.....                           [ 59%]
> zarr/tests/test_dim_separator.py ..........................x....x        [ 60%]
> zarr/tests/test_filters.py ......                                        [ 60%]
> zarr/tests/test_indexing.py ............................................ [ 61%]
> ...........xx......                                                      [ 61%]
> zarr/tests/test_info.py ..                                               [ 61%]
> zarr/tests/test_meta.py .........................                        [ 62%]
> zarr/tests/test_meta_array.py .sss.sss.sss.sss.sss.sss.sss.sss..ssssss.. [ 63%]
> ssssss..ssssss..ssssss                                                   [ 63%]
> zarr/tests/test_n5.py .....                                              [ 63%]
> zarr/tests/test_storage.py ...................s........................s [ 64%]
> ........................s............................................... [ 66%]
> ............................ss..............s........................... [ 68%]
> ........................................................................ [ 70%]
> .........................ss............................................. [ 71%]
> ..................s..................................................... [ 73%]
> ........................................................................ [ 75%]
> ..........ssssssssssssssssssssssss...................................... [ 76%]
> ............ssssssssssssssssssssssssssssssssssssssssssssssss............ [ 78%]
> .s.................ssssssssssssssssssssssssss.......                     [ 79%]
> zarr/tests/test_storage_v3.py ssssssssssssssssssssssssssssssssssssssssss [ 80%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 82%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 84%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 85%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 87%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 89%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 90%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 92%]
> sssssssssssssssssss                                                      [ 93%]
> zarr/tests/test_sync.py ................................................ [ 94%]
> ........................................................................ [ 95%]
> ........................................................................ [ 97%]
> ........................................................................ [ 99%]
> ................                                                         [ 99%]
> zarr/tests/test_util.py ..................                               [100%]
> 
> =================================== FAILURES ===================================
> ________________ TestArrayWithFSStorePartialRead.test_array_1d _________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae56c6cc0>
> 
>     def test_array_1d(self):
>         a = np.arange(1050)
>         z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype)
>     
>         # check properties
>         assert len(a) == len(z)
>         assert a.ndim == z.ndim
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (100,) == z.chunks
>         assert a.nbytes == z.nbytes
>         assert 11 == z.nchunks
>         assert 0 == z.nchunks_initialized
>         assert (11,) == z.cdata_shape
>     
>         # check empty
>         b = z[:]
>         assert isinstance(b, np.ndarray)
>         assert a.shape == b.shape
>         assert a.dtype == b.dtype
>     
>         # check attributes
>         z.attrs["foo"] = "bar"
>         assert "bar" == z.attrs["foo"]
>     
>         # set data
>         z[:] = a
>     
>         # check properties
>         assert a.nbytes == z.nbytes
>         assert 11 == z.nchunks
>         assert 11 == z.nchunks_initialized
>     
>         # check slicing
> >       assert_array_equal(a, np.array(z))
> 
> zarr/tests/test_core.py:288: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:580: in __array__
>     return np.array(self[...], *args, **kwargs)
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00\xab\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ___________ TestArrayWithFSStorePartialRead.test_array_1d_fill_value ___________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae56c6e40>
> 
>     def test_array_1d_fill_value(self):
>         for fill_value in -1, 0, 1, 10:
>             a = np.arange(1050)
>             f = np.empty_like(a)
>             f.fill(fill_value)
>             z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, fill_value=fill_value)
>             z[190:310] = a[190:310]
>     
> >           assert_array_equal(f[:190], z[:190])
> 
> zarr/tests/test_core.py:344: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00}\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ___________ TestArrayWithFSStorePartialRead.test_array_1d_selections ___________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae56c7140>
> 
>     def test_array_1d_selections(self):
>         # light test here, full tests in test_indexing
>     
>         # setup
>         a = np.arange(1050)
>         z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype)
>         z[:] = a
>     
>         # get
> >       assert_array_equal(a[50:150], z.get_orthogonal_selection(slice(50, 150)))
> 
> zarr/tests/test_core.py:378: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:1078: in get_orthogonal_selection
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00\xd2\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________________ TestArrayWithFSStorePartialRead.test_array_2d _________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae56c72c0>
> 
>     def test_array_2d(self):
>         a = np.arange(10000).reshape((1000, 10))
>         z = self.create_array(shape=a.shape, chunks=(100, 2), dtype=a.dtype)
>     
>         # check properties
>         assert len(a) == len(z)
>         assert a.ndim == z.ndim
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (100, 2) == z.chunks
>         assert 0 == z.nchunks_initialized
>         assert (10, 5) == z.cdata_shape
>     
>         # set data
>         z[:] = a
>     
>         # check properties
>         assert a.nbytes == z.nbytes
>         assert 50 == z.nchunks_initialized
>     
>         # check array-like
> >       assert_array_equal(a, np.array(z))
> 
> zarr/tests/test_core.py:440: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:580: in __array__
>     return np.array(self[...], *args, **kwargs)
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08@\x06\x00\x00\x00\x01\x00\x00\xb2\x01\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ___________ TestArrayWithFSStorePartialRead.test_array_2d_edge_case ____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae56c7440>
> 
>     def test_array_2d_edge_case(self):
>         # this fails with filters - chunks extend beyond edge of array, messes with delta
>         # filter if no fill value?
>         shape = 1000, 10
>         chunks = 300, 30
>         dtype = "i8"
>         z = self.create_array(shape=shape, dtype=dtype, chunks=chunks)
>         z[:] = 0
>         expect = np.zeros(shape, dtype=dtype)
> >       actual = z[:]
> 
> zarr/tests/test_core.py:537: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08@\x19\x01\x00\x00\x01\x00\x00\xfe\x14\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ____________ TestArrayWithFSStorePartialRead.test_array_2d_partial _____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae56c75c0>
> 
>     def test_array_2d_partial(self):
>         z = self.create_array(shape=(1000, 10), chunks=(100, 2), dtype="i4", fill_value=0)
>     
>         # check partial assignment, single row
>         c = np.arange(z.shape[1])
>         z[0, :] = c
>         with pytest.raises(ValueError):
>             # N.B., NumPy allows this, but we'll be strict for now
>             z[2:3] = c
>         with pytest.raises(ValueError):
>             # N.B., NumPy allows this, but we'll be strict for now
>             z[-1:] = c
>         z[2:3] = c[None, :]
>         z[-1:] = c[None, :]
> >       assert_array_equal(c, z[0, :])
> 
> zarr/tests/test_core.py:556: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:796: in __getitem__
>     result = self.get_orthogonal_selection(pure_selection, fields=fields)
> zarr/core.py:1078: in get_orthogonal_selection
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x04 \x03\x00\x00\x00\x01\x00\x00f\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _______________ TestArrayWithFSStorePartialRead.test_array_order _______________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae56c7770>
> 
>     def test_array_order(self):
>         # 1D
>         a = np.arange(1050)
>         for order in "C", "F":
>             z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, order=order)
>             assert order == z.order
>             if order == "F":
>                 assert z[:].flags.f_contiguous
>             else:
>                 assert z[:].flags.c_contiguous
>             z[:] = a
> >           assert_array_equal(a, z[:])
> 
> zarr/tests/test_core.py:594: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00\xab\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________________ TestArrayWithFSStorePartialRead.test_resize_1d ________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae56c7cb0>
> 
>     def test_resize_1d(self):
>         z = self.create_array(shape=105, chunks=10, dtype="i4", fill_value=0)
>         a = np.arange(105, dtype="i4")
>         z[:] = a
>         assert (105,) == z.shape
> >       assert (105,) == z[:].shape
> 
> zarr/tests/test_core.py:679: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x04(\x00\x00\x00(\x00\x00\x008\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________________ TestArrayWithFSStorePartialRead.test_resize_2d ________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae56c7e90>
> 
>     def test_resize_2d(self):
>         z = self.create_array(shape=(105, 105), chunks=(10, 10), dtype="i4", fill_value=0)
>         a = np.arange(105 * 105, dtype="i4").reshape((105, 105))
>         z[:] = a
>         assert (105, 105) == z.shape
> >       assert (105, 105) == z[:].shape
> 
> zarr/tests/test_core.py:714: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x00\x01\x00\x00\xbe\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________________ TestArrayWithFSStorePartialRead.test_append_1d ________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae57083e0>
> 
>     def test_append_1d(self):
>         a = np.arange(105)
>         z = self.create_array(shape=a.shape, chunks=10, dtype=a.dtype)
>         z[:] = a
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (10,) == z.chunks
> >       assert_array_equal(a, z[:])
> 
> zarr/tests/test_core.py:776: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x08P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________________ TestArrayWithFSStorePartialRead.test_append_2d ________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae56c7c80>
> 
>     def test_append_2d(self):
>         a = np.arange(105 * 105, dtype="i4").reshape((105, 105))
>         z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype)
>         z[:] = a
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (10, 10) == z.chunks
> >       actual = z[:]
> 
> zarr/tests/test_core.py:804: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x00\x01\x00\x00\xbe\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _____________ TestArrayWithFSStorePartialRead.test_append_2d_axis ______________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae56c7740>
> 
>     def test_append_2d_axis(self):
>         a = np.arange(105 * 105, dtype="i4").reshape((105, 105))
>         z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype)
>         z[:] = a
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (10, 10) == z.chunks
> >       assert_array_equal(a, z[:])
> 
> zarr/tests/test_core.py:825: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x00\x01\x00\x00\xbe\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________________ TestArrayWithFSStorePartialRead.test_np_ufuncs ________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae56c4680>
> 
>     def test_np_ufuncs(self):
>         z = self.create_array(shape=(100, 100), chunks=(10, 10))
>         a = np.arange(10000).reshape(100, 100)
>         z[:] = a
>     
> >       assert np.sum(a) == np.sum(z)
> 
> zarr/tests/test_core.py:917: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:2313: in sum
>     return _wrapreduction(a, np.add, 'sum', axis, dtype, out, keepdims=keepdims,
> /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:88: in _wrapreduction
>     return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
> zarr/core.py:580: in __array__
>     return np.array(self[...], *args, **kwargs)
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00-\x01\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ____________ TestArrayWithFSStorePartialRead.test_array_dtype_shape ____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae570a6c0>
> 
>     def test_array_dtype_shape(self):
>         dt = "(2, 2)f4"
>         # setup some data
>         d = np.array([((0, 1), (1, 2)), ((1, 2), (2, 3)), ((2, 3), (3, 4))], dtype=dt)
>     
>         for a in (d, d[:0]):
>             for fill_value in None, 0:
>                 z = self.create_array(shape=a.shape[:-2], chunks=2, dtype=dt, fill_value=fill_value)
>                 assert len(a) == len(z)
>                 if fill_value is not None:
>                     assert fill_value == z.fill_value
>                 z[...] = a
> >               assert_array_equal(a, z[...])
> 
> zarr/tests/test_core.py:1101: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x04 \x00\x00\x00 \x00\x00\x000\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ____________ TestArrayWithFSStorePartialRead.test_structured_array _____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae570bd70>
> 
>     def test_structured_array(self):
>         d = np.array(
>             [(b"aaa", 1, 4.2), (b"bbb", 2, 8.4), (b"ccc", 3, 12.6)],
>             dtype=[("foo", "S3"), ("bar", "i4"), ("baz", "f8")],
>         )
>         fill_values = None, b"", (b"zzz", 42, 16.8)
> >       self.check_structured_array(d, fill_values)
> 
> zarr/tests/test_core.py:1151: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/tests/test_core.py:1136: in check_structured_array
>     assert a[0] == z[0]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x0f\x1e\x00\x00\x00\x1e\x00\x00\x00.\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _______ TestArrayWithFSStorePartialRead.test_structured_array_subshapes ________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae5708170>
> 
>     def test_structured_array_subshapes(self):
>         d = np.array(
>             [
>                 (0, ((0, 1, 2), (1, 2, 3)), b"aaa"),
>                 (1, ((1, 2, 3), (2, 3, 4)), b"bbb"),
>                 (2, ((2, 3, 4), (3, 4, 5)), b"ccc"),
>             ],
>             dtype=[("foo", "i8"), ("bar", "(2, 3)f4"), ("baz", "S3")],
>         )
>         fill_values = None, b"", (0, ((0, 0, 0), (1, 1, 1)), b"zzz")
> >       self.check_structured_array(d, fill_values)
> 
> zarr/tests/test_core.py:1163: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/tests/test_core.py:1136: in check_structured_array
>     assert a[0] == z[0]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013#F\x00\x00\x00F\x00\x00\x00V\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _________ TestArrayWithFSStorePartialRead.test_structured_array_nested _________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae5708380>
> 
>     def test_structured_array_nested(self):
>         d = np.array(
>             [
>                 (0, (0, ((0, 1), (1, 2), (2, 3)), 0), b"aaa"),
>                 (1, (1, ((1, 2), (2, 3), (3, 4)), 1), b"bbb"),
>                 (2, (2, ((2, 3), (3, 4), (4, 5)), 2), b"ccc"),
>             ],
>             dtype=[
>                 ("foo", "i8"),
>                 ("bar", [("foo", "i4"), ("bar", "(3, 2)f4"), ("baz", "u1")]),
>                 ("baz", "S3"),
>             ],
>         )
>         fill_values = None, b"", (0, (0, ((0, 0), (1, 1), (2, 2)), 0), b"zzz")
> >       self.check_structured_array(d, fill_values)
> 
> zarr/tests/test_core.py:1179: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/tests/test_core.py:1136: in check_structured_array
>     assert a[0] == z[0]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013(P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _________________ TestArrayWithFSStorePartialRead.test_dtypes __________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae5708530>
> 
>     def test_dtypes(self):
>         # integers
>         for dtype in "u1", "u2", "u4", "u8", "i1", "i2", "i4", "i8":
>             z = self.create_array(shape=10, chunks=3, dtype=dtype)
>             assert z.dtype == np.dtype(dtype)
>             a = np.arange(z.shape[0], dtype=dtype)
>             z[:] = a
> >           assert_array_equal(a, z[:])
> 
> zarr/tests/test_core.py:1188: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x01\x03\x00\x00\x00\x03\x00\x00\x00\x13\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> __________________ TestArrayWithFSStorePartialRead.test_iter ___________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae57092b0>
> 
>     def test_iter(self):
>         params = (
>             ((1,), (1,)),
>             ((2,), (1,)),
>             ((1,), (2,)),
>             ((3,), (3,)),
>             ((1000,), (100,)),
>             ((100,), (1000,)),
>             ((1, 100), (1, 1)),
>             ((1, 0), (1, 1)),
>             ((0, 1), (1, 1)),
>             ((0, 1), (2, 1)),
>             ((100, 1), (3, 1)),
>             ((100, 100), (10, 10)),
>             ((10, 10, 10), (3, 3, 3)),
>         )
>         for shape, chunks in params:
>             z = self.create_array(shape=shape, chunks=chunks, dtype=int)
>             a = np.arange(np.prod(shape)).reshape(shape)
>             z[:] = a
> >           for expect, actual in zip_longest(a, z):
> 
> zarr/tests/test_core.py:1531: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:637: in islice
>     chunk = self[j : j + chunk_size]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _________________ TestArrayWithFSStorePartialRead.test_islice __________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae5709460>
> 
>     def test_islice(self):
>         params = (
>             ((1,), (1,), 0, 1),
>             ((2,), (1,), 0, 1),
>             ((1,), (2,), 0, 1),
>             ((3,), (3,), 1, 2),
>             ((1000,), (100,), 150, 1050),
>             ((100,), (1000,), 25, 75),
>             ((1, 100), (1, 1), 0, 1),
>             ((100, 1), (3, 1), 56, 100),
>             ((100, 100), (10, 10), 13, 99),
>             ((10, 10, 10), (3, 3, 3), 2, 4),
>         )
>         for shape, chunks, start, end in params:
>             z = self.create_array(shape=shape, chunks=chunks, dtype=int)
>             a = np.arange(np.prod(shape)).reshape(shape)
>             z[:] = a
>             end_array = min(end, a.shape[0])
> >           for expect, actual in zip_longest(a[start:end_array], z.islice(start, end)):
> 
> zarr/tests/test_core.py:1553: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:637: in islice
>     chunk = self[j : j + chunk_size]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________________ TestArrayWithFSStorePartialRead.test_non_cont _________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae56c5880>
> 
>     def test_non_cont(self):
>         z = self.create_array(shape=(500, 500, 500), chunks=(50, 50, 50), dtype="<i4")
>         z[:, :, :] = 1
>         # actually go through the partial read by accessing a single item
> >       assert z[0, :, 0].any()
> 
> zarr/tests/test_core.py:2446: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:796: in __getitem__
>     result = self.get_orthogonal_selection(pure_selection, fields=fields)
> zarr/core.py:1078: in get_orthogonal_selection
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x04 \xa1\x07\x00\x00\x01\x00\x00>\xb7\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _ TestArrayWithFSStorePartialRead.test_read_nitems_less_than_blocksize_from_multiple_chunks _
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae56c5430>
> 
>     def test_read_nitems_less_than_blocksize_from_multiple_chunks(self):
>         """Tests to make sure decompression doesn't fail when `nitems` is
>         less than a compressed block size, but covers multiple blocks
>         """
>         z = self.create_array(shape=1000000, chunks=100_000)
>         z[40_000:80_000] = 1
>         path = None if self.version == 2 else z.path
>         b = Array(z.store, path=path, read_only=True, partial_decompress=True)
> >       assert (b[40_000:80_000] == 1).all()
> 
> zarr/tests/test_core.py:2456: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08\x005\x0c\x00\x00\x01\x00\x00\xd3\x18\x01\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> __________ TestArrayWithFSStorePartialRead.test_read_from_all_blocks ___________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7fbae56c4fe0>
> 
>     def test_read_from_all_blocks(self):
>         """Tests to make sure `PartialReadBuffer.read_part` doesn't fail when
>         stop isn't in the `start_points` array
>         """
>         z = self.create_array(shape=1000000, chunks=100_000)
>         z[2:99_000] = 1
>         path = None if self.version == 2 else z.path
>         b = Array(z.store, path=path, read_only=True, partial_decompress=True)
> >       assert (b[2:99_000] == 1).all()
> 
> zarr/tests/test_core.py:2466: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08\x005\x0c\x00\x00\x01\x00\x00\xe7`\x01\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _____________ TestArrayWithFSStoreNestedPartialRead.test_array_1d ______________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d0b30>
> 
>     def test_array_1d(self):
>         a = np.arange(1050)
>         z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype)
>     
>         # check properties
>         assert len(a) == len(z)
>         assert a.ndim == z.ndim
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (100,) == z.chunks
>         assert a.nbytes == z.nbytes
>         assert 11 == z.nchunks
>         assert 0 == z.nchunks_initialized
>         assert (11,) == z.cdata_shape
>     
>         # check empty
>         b = z[:]
>         assert isinstance(b, np.ndarray)
>         assert a.shape == b.shape
>         assert a.dtype == b.dtype
>     
>         # check attributes
>         z.attrs["foo"] = "bar"
>         assert "bar" == z.attrs["foo"]
>     
>         # set data
>         z[:] = a
>     
>         # check properties
>         assert a.nbytes == z.nbytes
>         assert 11 == z.nchunks
>         assert 11 == z.nchunks_initialized
>     
>         # check slicing
> >       assert_array_equal(a, np.array(z))
> 
> zarr/tests/test_core.py:288: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:580: in __array__
>     return np.array(self[...], *args, **kwargs)
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00n\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________ TestArrayWithFSStoreNestedPartialRead.test_array_1d_fill_value ________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d07d0>
> 
>     def test_array_1d_fill_value(self):
>         for fill_value in -1, 0, 1, 10:
>             a = np.arange(1050)
>             f = np.empty_like(a)
>             f.fill(fill_value)
>             z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, fill_value=fill_value)
>             z[190:310] = a[190:310]
>     
> >           assert_array_equal(f[:190], z[:190])
> 
> zarr/tests/test_core.py:344: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00?\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________ TestArrayWithFSStoreNestedPartialRead.test_array_1d_selections ________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d0c80>
> 
>     def test_array_1d_selections(self):
>         # light test here, full tests in test_indexing
>     
>         # setup
>         a = np.arange(1050)
>         z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype)
>         z[:] = a
>     
>         # get
> >       assert_array_equal(a[50:150], z.get_orthogonal_selection(slice(50, 150)))
> 
> zarr/tests/test_core.py:378: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:1078: in get_orthogonal_selection
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00\x8e\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _____________ TestArrayWithFSStoreNestedPartialRead.test_array_2d ______________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d0e60>
> 
>     def test_array_2d(self):
>         a = np.arange(10000).reshape((1000, 10))
>         z = self.create_array(shape=a.shape, chunks=(100, 2), dtype=a.dtype)
>     
>         # check properties
>         assert len(a) == len(z)
>         assert a.ndim == z.ndim
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (100, 2) == z.chunks
>         assert 0 == z.nchunks_initialized
>         assert (10, 5) == z.cdata_shape
>     
>         # set data
>         z[:] = a
>     
>         # check properties
>         assert a.nbytes == z.nbytes
>         assert 50 == z.nchunks_initialized
>     
>         # check array-like
> >       assert_array_equal(a, np.array(z))
> 
> zarr/tests/test_core.py:440: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:580: in __array__
>     return np.array(self[...], *args, **kwargs)
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x01!\x08@\x06\x00\x00@\x06\x00\x00X\x01\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________ TestArrayWithFSStoreNestedPartialRead.test_array_2d_edge_case _________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d0fe0>
> 
>     def test_array_2d_edge_case(self):
>         # this fails with filters - chunks extend beyond edge of array, messes with delta
>         # filter if no fill value?
>         shape = 1000, 10
>         chunks = 300, 30
>         dtype = "i8"
>         z = self.create_array(shape=shape, dtype=dtype, chunks=chunks)
>         z[:] = 0
>         expect = np.zeros(shape, dtype=dtype)
> >       actual = z[:]
> 
> zarr/tests/test_core.py:537: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x01!\x08@\x19\x01\x00@\x19\x01\x00\xa4\x01\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _________ TestArrayWithFSStoreNestedPartialRead.test_array_2d_partial __________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d1160>
> 
>     def test_array_2d_partial(self):
>         z = self.create_array(shape=(1000, 10), chunks=(100, 2), dtype="i4", fill_value=0)
>     
>         # check partial assignment, single row
>         c = np.arange(z.shape[1])
>         z[0, :] = c
>         with pytest.raises(ValueError):
>             # N.B., NumPy allows this, but we'll be strict for now
>             z[2:3] = c
>         with pytest.raises(ValueError):
>             # N.B., NumPy allows this, but we'll be strict for now
>             z[-1:] = c
>         z[2:3] = c[None, :]
>         z[-1:] = c[None, :]
> >       assert_array_equal(c, z[0, :])
> 
> zarr/tests/test_core.py:556: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:796: in __getitem__
>     result = self.get_orthogonal_selection(pure_selection, fields=fields)
> zarr/core.py:1078: in get_orthogonal_selection
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x01!\x04 \x03\x00\x00 \x03\x00\x00Z\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ____________ TestArrayWithFSStoreNestedPartialRead.test_array_order ____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d1310>
> 
>     def test_array_order(self):
>         # 1D
>         a = np.arange(1050)
>         for order in "C", "F":
>             z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, order=order)
>             assert order == z.order
>             if order == "F":
>                 assert z[:].flags.f_contiguous
>             else:
>                 assert z[:].flags.c_contiguous
>             z[:] = a
> >           assert_array_equal(a, z[:])
> 
> zarr/tests/test_core.py:594: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00n\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _____________ TestArrayWithFSStoreNestedPartialRead.test_resize_1d _____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d1790>
> 
>     def test_resize_1d(self):
>         z = self.create_array(shape=105, chunks=10, dtype="i4", fill_value=0)
>         a = np.arange(105, dtype="i4")
>         z[:] = a
>         assert (105,) == z.shape
> >       assert (105,) == z[:].shape
> 
> zarr/tests/test_core.py:679: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x04(\x00\x00\x00(\x00\x00\x008\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _____________ TestArrayWithFSStoreNestedPartialRead.test_resize_2d _____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d1910>
> 
>     def test_resize_2d(self):
>         z = self.create_array(shape=(105, 105), chunks=(10, 10), dtype="i4", fill_value=0)
>         a = np.arange(105 * 105, dtype="i4").reshape((105, 105))
>         z[:] = a
>         assert (105, 105) == z.shape
> >       assert (105, 105) == z[:].shape
> 
> zarr/tests/test_core.py:714: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x90\x01\x00\x00\xa3\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _____________ TestArrayWithFSStoreNestedPartialRead.test_append_1d _____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d1a90>
> 
>     def test_append_1d(self):
>         a = np.arange(105)
>         z = self.create_array(shape=a.shape, chunks=10, dtype=a.dtype)
>         z[:] = a
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (10,) == z.chunks
> >       assert_array_equal(a, z[:])
> 
> zarr/tests/test_core.py:776: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x08P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _____________ TestArrayWithFSStoreNestedPartialRead.test_append_2d _____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d1c10>
> 
>     def test_append_2d(self):
>         a = np.arange(105 * 105, dtype="i4").reshape((105, 105))
>         z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype)
>         z[:] = a
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (10, 10) == z.chunks
> >       actual = z[:]
> 
> zarr/tests/test_core.py:804: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x90\x01\x00\x00\xa3\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> __________ TestArrayWithFSStoreNestedPartialRead.test_append_2d_axis ___________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d1e20>
> 
>     def test_append_2d_axis(self):
>         a = np.arange(105 * 105, dtype="i4").reshape((105, 105))
>         z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype)
>         z[:] = a
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (10, 10) == z.chunks
> >       assert_array_equal(a, z[:])
> 
> zarr/tests/test_core.py:825: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x90\x01\x00\x00\xa3\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _____________ TestArrayWithFSStoreNestedPartialRead.test_np_ufuncs _____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d24b0>
> 
>     def test_np_ufuncs(self):
>         z = self.create_array(shape=(100, 100), chunks=(10, 10))
>         a = np.arange(10000).reshape(100, 100)
>         z[:] = a
>     
> >       assert np.sum(a) == np.sum(z)
> 
> zarr/tests/test_core.py:917: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:2313: in sum
>     return _wrapreduction(a, np.add, 'sum', axis, dtype, out, keepdims=keepdims,
> /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:88: in _wrapreduction
>     return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
> zarr/core.py:580: in __array__
>     return np.array(self[...], *args, **kwargs)
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00\xed\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _________ TestArrayWithFSStoreNestedPartialRead.test_array_dtype_shape _________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d23f0>
> 
>     def test_array_dtype_shape(self):
>         dt = "(2, 2)f4"
>         # setup some data
>         d = np.array([((0, 1), (1, 2)), ((1, 2), (2, 3)), ((2, 3), (3, 4))], dtype=dt)
>     
>         for a in (d, d[:0]):
>             for fill_value in None, 0:
>                 z = self.create_array(shape=a.shape[:-2], chunks=2, dtype=dt, fill_value=fill_value)
>                 assert len(a) == len(z)
>                 if fill_value is not None:
>                     assert fill_value == z.fill_value
>                 z[...] = a
> >               assert_array_equal(a, z[...])
> 
> zarr/tests/test_core.py:1101: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x04 \x00\x00\x00 \x00\x00\x000\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _________ TestArrayWithFSStoreNestedPartialRead.test_structured_array __________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d1f40>
> 
>     def test_structured_array(self):
>         d = np.array(
>             [(b"aaa", 1, 4.2), (b"bbb", 2, 8.4), (b"ccc", 3, 12.6)],
>             dtype=[("foo", "S3"), ("bar", "i4"), ("baz", "f8")],
>         )
>         fill_values = None, b"", (b"zzz", 42, 16.8)
> >       self.check_structured_array(d, fill_values)
> 
> zarr/tests/test_core.py:1151: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/tests/test_core.py:1136: in check_structured_array
>     assert a[0] == z[0]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x0f\x1e\x00\x00\x00\x1e\x00\x00\x00.\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ____ TestArrayWithFSStoreNestedPartialRead.test_structured_array_subshapes _____
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d1a60>
> 
>     def test_structured_array_subshapes(self):
>         d = np.array(
>             [
>                 (0, ((0, 1, 2), (1, 2, 3)), b"aaa"),
>                 (1, ((1, 2, 3), (2, 3, 4)), b"bbb"),
>                 (2, ((2, 3, 4), (3, 4, 5)), b"ccc"),
>             ],
>             dtype=[("foo", "i8"), ("bar", "(2, 3)f4"), ("baz", "S3")],
>         )
>         fill_values = None, b"", (0, ((0, 0, 0), (1, 1, 1)), b"zzz")
> >       self.check_structured_array(d, fill_values)
> 
> zarr/tests/test_core.py:1163: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/tests/test_core.py:1136: in check_structured_array
>     assert a[0] == z[0]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013#F\x00\x00\x00F\x00\x00\x00V\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ______ TestArrayWithFSStoreNestedPartialRead.test_structured_array_nested ______
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d1700>
> 
>     def test_structured_array_nested(self):
>         d = np.array(
>             [
>                 (0, (0, ((0, 1), (1, 2), (2, 3)), 0), b"aaa"),
>                 (1, (1, ((1, 2), (2, 3), (3, 4)), 1), b"bbb"),
>                 (2, (2, ((2, 3), (3, 4), (4, 5)), 2), b"ccc"),
>             ],
>             dtype=[
>                 ("foo", "i8"),
>                 ("bar", [("foo", "i4"), ("bar", "(3, 2)f4"), ("baz", "u1")]),
>                 ("baz", "S3"),
>             ],
>         )
>         fill_values = None, b"", (0, (0, ((0, 0), (1, 1), (2, 2)), 0), b"zzz")
> >       self.check_structured_array(d, fill_values)
> 
> zarr/tests/test_core.py:1179: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/tests/test_core.py:1136: in check_structured_array
>     assert a[0] == z[0]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013(P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ______________ TestArrayWithFSStoreNestedPartialRead.test_dtypes _______________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d12b0>
> 
>     def test_dtypes(self):
>         # integers
>         for dtype in "u1", "u2", "u4", "u8", "i1", "i2", "i4", "i8":
>             z = self.create_array(shape=10, chunks=3, dtype=dtype)
>             assert z.dtype == np.dtype(dtype)
>             a = np.arange(z.shape[0], dtype=dtype)
>             z[:] = a
> >           assert_array_equal(a, z[:])
> 
> zarr/tests/test_core.py:1188: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x01\x03\x00\x00\x00\x03\x00\x00\x00\x13\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _______________ TestArrayWithFSStoreNestedPartialRead.test_iter ________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d31d0>
> 
>     def test_iter(self):
>         params = (
>             ((1,), (1,)),
>             ((2,), (1,)),
>             ((1,), (2,)),
>             ((3,), (3,)),
>             ((1000,), (100,)),
>             ((100,), (1000,)),
>             ((1, 100), (1, 1)),
>             ((1, 0), (1, 1)),
>             ((0, 1), (1, 1)),
>             ((0, 1), (2, 1)),
>             ((100, 1), (3, 1)),
>             ((100, 100), (10, 10)),
>             ((10, 10, 10), (3, 3, 3)),
>         )
>         for shape, chunks in params:
>             z = self.create_array(shape=shape, chunks=chunks, dtype=int)
>             a = np.arange(np.prod(shape)).reshape(shape)
>             z[:] = a
> >           for expect, actual in zip_longest(a, z):
> 
> zarr/tests/test_core.py:1531: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:637: in islice
>     chunk = self[j : j + chunk_size]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ______________ TestArrayWithFSStoreNestedPartialRead.test_islice _______________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d3350>
> 
>     def test_islice(self):
>         params = (
>             ((1,), (1,), 0, 1),
>             ((2,), (1,), 0, 1),
>             ((1,), (2,), 0, 1),
>             ((3,), (3,), 1, 2),
>             ((1000,), (100,), 150, 1050),
>             ((100,), (1000,), 25, 75),
>             ((1, 100), (1, 1), 0, 1),
>             ((100, 1), (3, 1), 56, 100),
>             ((100, 100), (10, 10), 13, 99),
>             ((10, 10, 10), (3, 3, 3), 2, 4),
>         )
>         for shape, chunks, start, end in params:
>             z = self.create_array(shape=shape, chunks=chunks, dtype=int)
>             a = np.arange(np.prod(shape)).reshape(shape)
>             z[:] = a
>             end_array = min(end, a.shape[0])
> >           for expect, actual in zip_longest(a[start:end_array], z.islice(start, end)):
> 
> zarr/tests/test_core.py:1553: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:637: in islice
>     chunk = self[j : j + chunk_size]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _____________ TestArrayWithFSStoreNestedPartialRead.test_non_cont ______________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d09e0>
> 
>     def test_non_cont(self):
>         z = self.create_array(shape=(500, 500, 500), chunks=(50, 50, 50), dtype="<i4")
>         z[:, :, :] = 1
>         # actually go through the partial read by accessing a single item
> >       assert z[0, :, 0].any()
> 
> zarr/tests/test_core.py:2503: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:796: in __getitem__
>     result = self.get_orthogonal_selection(pure_selection, fields=fields)
> zarr/core.py:1078: in get_orthogonal_selection
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x01!\x04 \xa1\x07\x00 \xa1\x07\x00\xf8\x07\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _ TestArrayWithFSStoreNestedPartialRead.test_read_nitems_less_than_blocksize_from_multiple_chunks _
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae56d0b90>
> 
>     def test_read_nitems_less_than_blocksize_from_multiple_chunks(self):
>         """Tests to make sure decompression doesn't fail when `nitems` is
>         less than a compressed block size, but covers multiple blocks
>         """
>         z = self.create_array(shape=1000000, chunks=100_000)
>         z[40_000:80_000] = 1
>         path = None if self.version == 2 else z.path
>         b = Array(z.store, path=path, read_only=True, partial_decompress=True)
> >       assert (b[40_000:80_000] == 1).all()
> 
> zarr/tests/test_core.py:2513: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x01!\x08\x005\x0c\x00\x005\x0c\x00\xdc\x0c\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _______ TestArrayWithFSStoreNestedPartialRead.test_read_from_all_blocks ________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7fbae570bd10>
> 
>     def test_read_from_all_blocks(self):
>         """Tests to make sure `PartialReadBuffer.read_part` doesn't fail when
>         stop isn't in the `start_points` array
>         """
>         z = self.create_array(shape=1000000, chunks=100_000)
>         z[2:99_000] = 1
>         path = None if self.version == 2 else z.path
>         b = Array(z.store, path=path, read_only=True, partial_decompress=True)
> >       assert (b[2:99_000] == 1).all()
> 
> zarr/tests/test_core.py:2523: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x01!\x08\x005\x0c\x00\x005\x0c\x00\xe0\x0c\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> =============================== warnings summary ===============================
> zarr/tests/test_storage.py::TestZipStore::test_store_and_retrieve_ndarray
>   /usr/lib/python3.12/zipfile/__init__.py:1610: UserWarning: Duplicate name: 'foo'
>     return self._open_to_write(zinfo, force_zip64=force_zip64)
> 
> zarr/tests/test_sync.py: 32 warnings
>   /usr/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=141) is multi-threaded, use of fork() may lead to deadlocks in the child.
>     self.pid = os.fork()
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ============================= slowest 10 durations =============================
> 7.35s call     zarr/tests/test_indexing.py::test_set_orthogonal_selection_3d
> 2.28s call     zarr/tests/test_core.py::TestArrayWithSQLiteStore::test_iter
> 2.17s call     zarr/tests/test_core.py::TestArrayWithSQLiteStore::test_islice
> 2.13s call     zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_non_cont
> 1.73s call     zarr/tests/test_storage.py::test_format_compatibility
> 1.54s call     zarr/tests/test_core.py::TestArrayWithSQLiteStore::test_append_2d_axis
> 1.47s call     zarr/tests/test_core.py::TestArrayWithSQLiteStore::test_append_2d
> 1.34s call     zarr/tests/test_core.py::TestArrayWithSQLiteStore::test_resize_2d
> 1.24s call     zarr/tests/test_core.py::TestArrayWithSQLiteStore::test_array_order
> 1.06s call     zarr/tests/test_indexing.py::test_set_orthogonal_selection_2d
> =========================== short test summary info ============================
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_1d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_1d_fill_value
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_1d_selections
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_2d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_2d_edge_case
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_2d_partial
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_order
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_resize_1d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_resize_2d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_append_1d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_append_2d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_append_2d_axis
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_np_ufuncs
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_dtype_shape
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_structured_array
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_structured_array_subshapes
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_structured_array_nested
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_dtypes
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_iter - ...
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_islice
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_non_cont
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_read_nitems_less_than_blocksize_from_multiple_chunks
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_read_from_all_blocks
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_1d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_1d_fill_value
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_1d_selections
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_2d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_2d_edge_case
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_2d_partial
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_order
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_resize_1d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_resize_2d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_append_1d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_append_2d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_append_2d_axis
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_np_ufuncs
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_dtype_shape
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_structured_array
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_structured_array_subshapes
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_structured_array_nested
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_dtypes
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_iter
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_islice
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_non_cont
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_read_nitems_less_than_blocksize_from_multiple_chunks
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_read_from_all_blocks
> = 46 failed, 2204 passed, 2004 skipped, 717 deselected, 4 xfailed, 33 warnings in 88.32s (0:01:28) =
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/zarr-2.18.4+ds/.pybuild/cpython3_3.12_zarr/build; python3.12 -m pytest -k "not test_hierarchy and not test_complex and not test_array_with_delta_filter and not test_utf8_encoding and not [static_flat] and not [static_nested] and not [static_flat_legacy] and not [static_nested_legacy] and not test_meta_prefix_6853 and not test_encode_decode_array_dtype_shape_v3" --pyargs zarr
> I: pybuild base:311: cd /build/reproducible-path/zarr-2.18.4+ds/.pybuild/cpython3_3.13_zarr/build; python3.13 -m pytest -k "not test_hierarchy and not test_complex and not test_array_with_delta_filter and not test_utf8_encoding and not [static_flat] and not [static_nested] and not [static_flat_legacy] and not [static_nested_legacy] and not test_meta_prefix_6853 and not test_encode_decode_array_dtype_shape_v3" --pyargs zarr
> ============================= test session starts ==============================
> platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
> rootdir: /build/reproducible-path/zarr-2.18.4+ds/.pybuild/cpython3_3.13_zarr/build
> configfile: pyproject.toml
> plugins: doctestplus-1.3.0, timeout-2.3.1, typeguard-4.4.1
> collected 4975 items / 717 deselected / 4258 selected
> 
> zarr/tests/test_attrs.py ..................                              [  0%]
> zarr/tests/test_convenience.py .....ss...................ssssssss.s..... [  1%]
> .......................................................sssssssssssssssss [  3%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [  4%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [  6%]
> sssssssssssssssssss                                                      [  6%]
> zarr/tests/test_core.py ................................................ [  8%]
> ........................................................................ [  9%]
> .....................................................................sss [ 11%]
> ssssssssssssssssssssssssssssssssssssssssssss............................ [ 13%]
> ........................................................................ [ 14%]
> ........................................................................ [ 16%]
> ..................ssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 18%]
> ssssssssssssssssssssssssssssssssssssssss................................ [ 19%]
> ........................................................................ [ 21%]
> ........................................................................ [ 23%]
> ........................................................................ [ 24%]
> ........................................................................ [ 26%]
> ........................................................................ [ 28%]
> ........................................................................ [ 30%]
> ..............................................................FF.FFFFF.. [ 31%]
> FFFFF...F....FFFFF......s.FF....FFF..................................... [ 33%]
> ...............FF.FFFFF..FFFFF...F....FFFFF......s.FF....FFFssssssssssss [ 35%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 36%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 38%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 40%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 41%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 43%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 45%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 46%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 48%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 50%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 51%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 53%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 55%]
> sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss. [ 57%]
> .....                                                                    [ 57%]
> zarr/tests/test_creation.py ............................................ [ 58%]
> .......................................ss.....                           [ 59%]
> zarr/tests/test_dim_separator.py ..........................x....x        [ 60%]
> zarr/tests/test_filters.py ......                                        [ 60%]
> zarr/tests/test_indexing.py ............................................ [ 61%]
> ...........xx......                                                      [ 61%]
> zarr/tests/test_info.py ..                                               [ 61%]
> zarr/tests/test_meta.py .........................                        [ 62%]
> zarr/tests/test_meta_array.py .sss.sss.sss.sss.sss.sss.sss.sss..ssssss.. [ 63%]
> ssssss..ssssss..ssssss                                                   [ 63%]
> zarr/tests/test_n5.py .....                                              [ 63%]
> zarr/tests/test_storage.py ...................s........................s [ 64%]
> ........................s............................................... [ 66%]
> ............................ss..............s........................... [ 68%]
> ........................................................................ [ 70%]
> .........................ss............................................. [ 71%]
> ..................s..................................................... [ 73%]
> ........................................................................ [ 75%]
> ..........ssssssssssssssssssssssss...................................... [ 76%]
> ............ssssssssssssssssssssssssssssssssssssssssssssssss............ [ 78%]
> .s.................ssssssssssssssssssssssssss.......                     [ 79%]
> zarr/tests/test_storage_v3.py ssssssssssssssssssssssssssssssssssssssssss [ 80%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 82%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 84%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 85%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 87%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 89%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 90%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 92%]
> sssssssssssssssssss                                                      [ 93%]
> zarr/tests/test_sync.py ................................................ [ 94%]
> ........................................................................ [ 95%]
> ........................................................................ [ 97%]
> ........................................................................ [ 99%]
> ................                                                         [ 99%]
> zarr/tests/test_util.py ..................                               [100%]
> 
> =================================== FAILURES ===================================
> ________________ TestArrayWithFSStorePartialRead.test_array_1d _________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a6ee7c50>
> 
>     def test_array_1d(self):
>         a = np.arange(1050)
>         z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype)
>     
>         # check properties
>         assert len(a) == len(z)
>         assert a.ndim == z.ndim
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (100,) == z.chunks
>         assert a.nbytes == z.nbytes
>         assert 11 == z.nchunks
>         assert 0 == z.nchunks_initialized
>         assert (11,) == z.cdata_shape
>     
>         # check empty
>         b = z[:]
>         assert isinstance(b, np.ndarray)
>         assert a.shape == b.shape
>         assert a.dtype == b.dtype
>     
>         # check attributes
>         z.attrs["foo"] = "bar"
>         assert "bar" == z.attrs["foo"]
>     
>         # set data
>         z[:] = a
>     
>         # check properties
>         assert a.nbytes == z.nbytes
>         assert 11 == z.nchunks
>         assert 11 == z.nchunks_initialized
>     
>         # check slicing
> >       assert_array_equal(a, np.array(z))
> 
> zarr/tests/test_core.py:288: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:580: in __array__
>     return np.array(self[...], *args, **kwargs)
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00\xab\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ___________ TestArrayWithFSStorePartialRead.test_array_1d_fill_value ___________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a6d39040>
> 
>     def test_array_1d_fill_value(self):
>         for fill_value in -1, 0, 1, 10:
>             a = np.arange(1050)
>             f = np.empty_like(a)
>             f.fill(fill_value)
>             z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, fill_value=fill_value)
>             z[190:310] = a[190:310]
>     
> >           assert_array_equal(f[:190], z[:190])
> 
> zarr/tests/test_core.py:344: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00}\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ___________ TestArrayWithFSStorePartialRead.test_array_1d_selections ___________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a7dc0130>
> 
>     def test_array_1d_selections(self):
>         # light test here, full tests in test_indexing
>     
>         # setup
>         a = np.arange(1050)
>         z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype)
>         z[:] = a
>     
>         # get
> >       assert_array_equal(a[50:150], z.get_orthogonal_selection(slice(50, 150)))
> 
> zarr/tests/test_core.py:378: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:1078: in get_orthogonal_selection
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00\xd2\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________________ TestArrayWithFSStorePartialRead.test_array_2d _________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a7dc2190>
> 
>     def test_array_2d(self):
>         a = np.arange(10000).reshape((1000, 10))
>         z = self.create_array(shape=a.shape, chunks=(100, 2), dtype=a.dtype)
>     
>         # check properties
>         assert len(a) == len(z)
>         assert a.ndim == z.ndim
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (100, 2) == z.chunks
>         assert 0 == z.nchunks_initialized
>         assert (10, 5) == z.cdata_shape
>     
>         # set data
>         z[:] = a
>     
>         # check properties
>         assert a.nbytes == z.nbytes
>         assert 50 == z.nchunks_initialized
>     
>         # check array-like
> >       assert_array_equal(a, np.array(z))
> 
> zarr/tests/test_core.py:440: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:580: in __array__
>     return np.array(self[...], *args, **kwargs)
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08@\x06\x00\x00\x00\x01\x00\x00\xb2\x01\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ___________ TestArrayWithFSStorePartialRead.test_array_2d_edge_case ____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a7c6e340>
> 
>     def test_array_2d_edge_case(self):
>         # this fails with filters - chunks extend beyond edge of array, messes with delta
>         # filter if no fill value?
>         shape = 1000, 10
>         chunks = 300, 30
>         dtype = "i8"
>         z = self.create_array(shape=shape, dtype=dtype, chunks=chunks)
>         z[:] = 0
>         expect = np.zeros(shape, dtype=dtype)
> >       actual = z[:]
> 
> zarr/tests/test_core.py:537: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08@\x19\x01\x00\x00\x01\x00\x00\xfe\x14\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ____________ TestArrayWithFSStorePartialRead.test_array_2d_partial _____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a6d33290>
> 
>     def test_array_2d_partial(self):
>         z = self.create_array(shape=(1000, 10), chunks=(100, 2), dtype="i4", fill_value=0)
>     
>         # check partial assignment, single row
>         c = np.arange(z.shape[1])
>         z[0, :] = c
>         with pytest.raises(ValueError):
>             # N.B., NumPy allows this, but we'll be strict for now
>             z[2:3] = c
>         with pytest.raises(ValueError):
>             # N.B., NumPy allows this, but we'll be strict for now
>             z[-1:] = c
>         z[2:3] = c[None, :]
>         z[-1:] = c[None, :]
> >       assert_array_equal(c, z[0, :])
> 
> zarr/tests/test_core.py:556: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:796: in __getitem__
>     result = self.get_orthogonal_selection(pure_selection, fields=fields)
> zarr/core.py:1078: in get_orthogonal_selection
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x04 \x03\x00\x00\x00\x01\x00\x00f\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _______________ TestArrayWithFSStorePartialRead.test_array_order _______________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a6d33350>
> 
>     def test_array_order(self):
>         # 1D
>         a = np.arange(1050)
>         for order in "C", "F":
>             z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, order=order)
>             assert order == z.order
>             if order == "F":
>                 assert z[:].flags.f_contiguous
>             else:
>                 assert z[:].flags.c_contiguous
>             z[:] = a
> >           assert_array_equal(a, z[:])
> 
> zarr/tests/test_core.py:594: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00\xab\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________________ TestArrayWithFSStorePartialRead.test_resize_1d ________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a7d64af0>
> 
>     def test_resize_1d(self):
>         z = self.create_array(shape=105, chunks=10, dtype="i4", fill_value=0)
>         a = np.arange(105, dtype="i4")
>         z[:] = a
>         assert (105,) == z.shape
> >       assert (105,) == z[:].shape
> 
> zarr/tests/test_core.py:679: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x04(\x00\x00\x00(\x00\x00\x008\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________________ TestArrayWithFSStorePartialRead.test_resize_2d ________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a7d64b90>
> 
>     def test_resize_2d(self):
>         z = self.create_array(shape=(105, 105), chunks=(10, 10), dtype="i4", fill_value=0)
>         a = np.arange(105 * 105, dtype="i4").reshape((105, 105))
>         z[:] = a
>         assert (105, 105) == z.shape
> >       assert (105, 105) == z[:].shape
> 
> zarr/tests/test_core.py:714: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x00\x01\x00\x00\xbe\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________________ TestArrayWithFSStorePartialRead.test_append_1d ________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a6d063c0>
> 
>     def test_append_1d(self):
>         a = np.arange(105)
>         z = self.create_array(shape=a.shape, chunks=10, dtype=a.dtype)
>         z[:] = a
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (10,) == z.chunks
> >       assert_array_equal(a, z[:])
> 
> zarr/tests/test_core.py:776: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x08P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________________ TestArrayWithFSStorePartialRead.test_append_2d ________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a7009350>
> 
>     def test_append_2d(self):
>         a = np.arange(105 * 105, dtype="i4").reshape((105, 105))
>         z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype)
>         z[:] = a
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (10, 10) == z.chunks
> >       actual = z[:]
> 
> zarr/tests/test_core.py:804: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x00\x01\x00\x00\xbe\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _____________ TestArrayWithFSStorePartialRead.test_append_2d_axis ______________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a700b3d0>
> 
>     def test_append_2d_axis(self):
>         a = np.arange(105 * 105, dtype="i4").reshape((105, 105))
>         z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype)
>         z[:] = a
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (10, 10) == z.chunks
> >       assert_array_equal(a, z[:])
> 
> zarr/tests/test_core.py:825: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x00\x01\x00\x00\xbe\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________________ TestArrayWithFSStorePartialRead.test_np_ufuncs ________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a76bf050>
> 
>     def test_np_ufuncs(self):
>         z = self.create_array(shape=(100, 100), chunks=(10, 10))
>         a = np.arange(10000).reshape(100, 100)
>         z[:] = a
>     
> >       assert np.sum(a) == np.sum(z)
> 
> zarr/tests/test_core.py:917: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:2313: in sum
>     return _wrapreduction(a, np.add, 'sum', axis, dtype, out, keepdims=keepdims,
> /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:88: in _wrapreduction
>     return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
> zarr/core.py:580: in __array__
>     return np.array(self[...], *args, **kwargs)
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00-\x01\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ____________ TestArrayWithFSStorePartialRead.test_array_dtype_shape ____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a7d63750>
> 
>     def test_array_dtype_shape(self):
>         dt = "(2, 2)f4"
>         # setup some data
>         d = np.array([((0, 1), (1, 2)), ((1, 2), (2, 3)), ((2, 3), (3, 4))], dtype=dt)
>     
>         for a in (d, d[:0]):
>             for fill_value in None, 0:
>                 z = self.create_array(shape=a.shape[:-2], chunks=2, dtype=dt, fill_value=fill_value)
>                 assert len(a) == len(z)
>                 if fill_value is not None:
>                     assert fill_value == z.fill_value
>                 z[...] = a
> >               assert_array_equal(a, z[...])
> 
> zarr/tests/test_core.py:1101: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x04 \x00\x00\x00 \x00\x00\x000\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ____________ TestArrayWithFSStorePartialRead.test_structured_array _____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a7d637a0>
> 
>     def test_structured_array(self):
>         d = np.array(
>             [(b"aaa", 1, 4.2), (b"bbb", 2, 8.4), (b"ccc", 3, 12.6)],
>             dtype=[("foo", "S3"), ("bar", "i4"), ("baz", "f8")],
>         )
>         fill_values = None, b"", (b"zzz", 42, 16.8)
> >       self.check_structured_array(d, fill_values)
> 
> zarr/tests/test_core.py:1151: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/tests/test_core.py:1136: in check_structured_array
>     assert a[0] == z[0]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x0f\x1e\x00\x00\x00\x1e\x00\x00\x00.\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _______ TestArrayWithFSStorePartialRead.test_structured_array_subshapes ________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a7d637f0>
> 
>     def test_structured_array_subshapes(self):
>         d = np.array(
>             [
>                 (0, ((0, 1, 2), (1, 2, 3)), b"aaa"),
>                 (1, ((1, 2, 3), (2, 3, 4)), b"bbb"),
>                 (2, ((2, 3, 4), (3, 4, 5)), b"ccc"),
>             ],
>             dtype=[("foo", "i8"), ("bar", "(2, 3)f4"), ("baz", "S3")],
>         )
>         fill_values = None, b"", (0, ((0, 0, 0), (1, 1, 1)), b"zzz")
> >       self.check_structured_array(d, fill_values)
> 
> zarr/tests/test_core.py:1163: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/tests/test_core.py:1136: in check_structured_array
>     assert a[0] == z[0]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013#F\x00\x00\x00F\x00\x00\x00V\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _________ TestArrayWithFSStorePartialRead.test_structured_array_nested _________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a7d63840>
> 
>     def test_structured_array_nested(self):
>         d = np.array(
>             [
>                 (0, (0, ((0, 1), (1, 2), (2, 3)), 0), b"aaa"),
>                 (1, (1, ((1, 2), (2, 3), (3, 4)), 1), b"bbb"),
>                 (2, (2, ((2, 3), (3, 4), (4, 5)), 2), b"ccc"),
>             ],
>             dtype=[
>                 ("foo", "i8"),
>                 ("bar", [("foo", "i4"), ("bar", "(3, 2)f4"), ("baz", "u1")]),
>                 ("baz", "S3"),
>             ],
>         )
>         fill_values = None, b"", (0, (0, ((0, 0), (1, 1), (2, 2)), 0), b"zzz")
> >       self.check_structured_array(d, fill_values)
> 
> zarr/tests/test_core.py:1179: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/tests/test_core.py:1136: in check_structured_array
>     assert a[0] == z[0]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013(P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _________________ TestArrayWithFSStorePartialRead.test_dtypes __________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a7d63890>
> 
>     def test_dtypes(self):
>         # integers
>         for dtype in "u1", "u2", "u4", "u8", "i1", "i2", "i4", "i8":
>             z = self.create_array(shape=10, chunks=3, dtype=dtype)
>             assert z.dtype == np.dtype(dtype)
>             a = np.arange(z.shape[0], dtype=dtype)
>             z[:] = a
> >           assert_array_equal(a, z[:])
> 
> zarr/tests/test_core.py:1188: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x01\x03\x00\x00\x00\x03\x00\x00\x00\x13\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> __________________ TestArrayWithFSStorePartialRead.test_iter ___________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a7d63b60>
> 
>     def test_iter(self):
>         params = (
>             ((1,), (1,)),
>             ((2,), (1,)),
>             ((1,), (2,)),
>             ((3,), (3,)),
>             ((1000,), (100,)),
>             ((100,), (1000,)),
>             ((1, 100), (1, 1)),
>             ((1, 0), (1, 1)),
>             ((0, 1), (1, 1)),
>             ((0, 1), (2, 1)),
>             ((100, 1), (3, 1)),
>             ((100, 100), (10, 10)),
>             ((10, 10, 10), (3, 3, 3)),
>         )
>         for shape, chunks in params:
>             z = self.create_array(shape=shape, chunks=chunks, dtype=int)
>             a = np.arange(np.prod(shape)).reshape(shape)
>             z[:] = a
> >           for expect, actual in zip_longest(a, z):
> 
> zarr/tests/test_core.py:1531: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:637: in islice
>     chunk = self[j : j + chunk_size]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _________________ TestArrayWithFSStorePartialRead.test_islice __________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a7d63bb0>
> 
>     def test_islice(self):
>         params = (
>             ((1,), (1,), 0, 1),
>             ((2,), (1,), 0, 1),
>             ((1,), (2,), 0, 1),
>             ((3,), (3,), 1, 2),
>             ((1000,), (100,), 150, 1050),
>             ((100,), (1000,), 25, 75),
>             ((1, 100), (1, 1), 0, 1),
>             ((100, 1), (3, 1), 56, 100),
>             ((100, 100), (10, 10), 13, 99),
>             ((10, 10, 10), (3, 3, 3), 2, 4),
>         )
>         for shape, chunks, start, end in params:
>             z = self.create_array(shape=shape, chunks=chunks, dtype=int)
>             a = np.arange(np.prod(shape)).reshape(shape)
>             z[:] = a
>             end_array = min(end, a.shape[0])
> >           for expect, actual in zip_longest(a[start:end_array], z.islice(start, end)):
> 
> zarr/tests/test_core.py:1553: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:637: in islice
>     chunk = self[j : j + chunk_size]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________________ TestArrayWithFSStorePartialRead.test_non_cont _________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a7db51d0>
> 
>     def test_non_cont(self):
>         z = self.create_array(shape=(500, 500, 500), chunks=(50, 50, 50), dtype="<i4")
>         z[:, :, :] = 1
>         # actually go through the partial read by accessing a single item
> >       assert z[0, :, 0].any()
> 
> zarr/tests/test_core.py:2446: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:796: in __getitem__
>     result = self.get_orthogonal_selection(pure_selection, fields=fields)
> zarr/core.py:1078: in get_orthogonal_selection
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x04 \xa1\x07\x00\x00\x01\x00\x00>\xb7\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _ TestArrayWithFSStorePartialRead.test_read_nitems_less_than_blocksize_from_multiple_chunks _
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a7db5310>
> 
>     def test_read_nitems_less_than_blocksize_from_multiple_chunks(self):
>         """Tests to make sure decompression doesn't fail when `nitems` is
>         less than a compressed block size, but covers multiple blocks
>         """
>         z = self.create_array(shape=1000000, chunks=100_000)
>         z[40_000:80_000] = 1
>         path = None if self.version == 2 else z.path
>         b = Array(z.store, path=path, read_only=True, partial_decompress=True)
> >       assert (b[40_000:80_000] == 1).all()
> 
> zarr/tests/test_core.py:2456: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08\x005\x0c\x00\x00\x01\x00\x00\xd3\x18\x01\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> __________ TestArrayWithFSStorePartialRead.test_read_from_all_blocks ___________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStorePartialRead object at 0x7f45a6e64510>
> 
>     def test_read_from_all_blocks(self):
>         """Tests to make sure `PartialReadBuffer.read_part` doesn't fail when
>         stop isn't in the `start_points` array
>         """
>         z = self.create_array(shape=1000000, chunks=100_000)
>         z[2:99_000] = 1
>         path = None if self.version == 2 else z.path
>         b = Array(z.store, path=path, read_only=True, partial_decompress=True)
> >       assert (b[2:99_000] == 1).all()
> 
> zarr/tests/test_core.py:2466: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08\x005\x0c\x00\x00\x01\x00\x00\xe7`\x01\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _____________ TestArrayWithFSStoreNestedPartialRead.test_array_1d ______________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a6f28150>
> 
>     def test_array_1d(self):
>         a = np.arange(1050)
>         z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype)
>     
>         # check properties
>         assert len(a) == len(z)
>         assert a.ndim == z.ndim
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (100,) == z.chunks
>         assert a.nbytes == z.nbytes
>         assert 11 == z.nchunks
>         assert 0 == z.nchunks_initialized
>         assert (11,) == z.cdata_shape
>     
>         # check empty
>         b = z[:]
>         assert isinstance(b, np.ndarray)
>         assert a.shape == b.shape
>         assert a.dtype == b.dtype
>     
>         # check attributes
>         z.attrs["foo"] = "bar"
>         assert "bar" == z.attrs["foo"]
>     
>         # set data
>         z[:] = a
>     
>         # check properties
>         assert a.nbytes == z.nbytes
>         assert 11 == z.nchunks
>         assert 11 == z.nchunks_initialized
>     
>         # check slicing
> >       assert_array_equal(a, np.array(z))
> 
> zarr/tests/test_core.py:288: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:580: in __array__
>     return np.array(self[...], *args, **kwargs)
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00n\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________ TestArrayWithFSStoreNestedPartialRead.test_array_1d_fill_value ________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a6d3a120>
> 
>     def test_array_1d_fill_value(self):
>         for fill_value in -1, 0, 1, 10:
>             a = np.arange(1050)
>             f = np.empty_like(a)
>             f.fill(fill_value)
>             z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, fill_value=fill_value)
>             z[190:310] = a[190:310]
>     
> >           assert_array_equal(f[:190], z[:190])
> 
> zarr/tests/test_core.py:344: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00?\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________ TestArrayWithFSStoreNestedPartialRead.test_array_1d_selections ________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a6f30130>
> 
>     def test_array_1d_selections(self):
>         # light test here, full tests in test_indexing
>     
>         # setup
>         a = np.arange(1050)
>         z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype)
>         z[:] = a
>     
>         # get
> >       assert_array_equal(a[50:150], z.get_orthogonal_selection(slice(50, 150)))
> 
> zarr/tests/test_core.py:378: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:1078: in get_orthogonal_selection
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00\x8e\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _____________ TestArrayWithFSStoreNestedPartialRead.test_array_2d ______________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a6f303d0>
> 
>     def test_array_2d(self):
>         a = np.arange(10000).reshape((1000, 10))
>         z = self.create_array(shape=a.shape, chunks=(100, 2), dtype=a.dtype)
>     
>         # check properties
>         assert len(a) == len(z)
>         assert a.ndim == z.ndim
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (100, 2) == z.chunks
>         assert 0 == z.nchunks_initialized
>         assert (10, 5) == z.cdata_shape
>     
>         # set data
>         z[:] = a
>     
>         # check properties
>         assert a.nbytes == z.nbytes
>         assert 50 == z.nchunks_initialized
>     
>         # check array-like
> >       assert_array_equal(a, np.array(z))
> 
> zarr/tests/test_core.py:440: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:580: in __array__
>     return np.array(self[...], *args, **kwargs)
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x01!\x08@\x06\x00\x00@\x06\x00\x00X\x01\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ________ TestArrayWithFSStoreNestedPartialRead.test_array_2d_edge_case _________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a7c6df30>
> 
>     def test_array_2d_edge_case(self):
>         # this fails with filters - chunks extend beyond edge of array, messes with delta
>         # filter if no fill value?
>         shape = 1000, 10
>         chunks = 300, 30
>         dtype = "i8"
>         z = self.create_array(shape=shape, dtype=dtype, chunks=chunks)
>         z[:] = 0
>         expect = np.zeros(shape, dtype=dtype)
> >       actual = z[:]
> 
> zarr/tests/test_core.py:537: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x01!\x08@\x19\x01\x00@\x19\x01\x00\xa4\x01\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _________ TestArrayWithFSStoreNestedPartialRead.test_array_2d_partial __________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a6d33590>
> 
>     def test_array_2d_partial(self):
>         z = self.create_array(shape=(1000, 10), chunks=(100, 2), dtype="i4", fill_value=0)
>     
>         # check partial assignment, single row
>         c = np.arange(z.shape[1])
>         z[0, :] = c
>         with pytest.raises(ValueError):
>             # N.B., NumPy allows this, but we'll be strict for now
>             z[2:3] = c
>         with pytest.raises(ValueError):
>             # N.B., NumPy allows this, but we'll be strict for now
>             z[-1:] = c
>         z[2:3] = c[None, :]
>         z[-1:] = c[None, :]
> >       assert_array_equal(c, z[0, :])
> 
> zarr/tests/test_core.py:556: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:796: in __getitem__
>     result = self.get_orthogonal_selection(pure_selection, fields=fields)
> zarr/core.py:1078: in get_orthogonal_selection
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x01!\x04 \x03\x00\x00 \x03\x00\x00Z\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ____________ TestArrayWithFSStoreNestedPartialRead.test_array_order ____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a6d33650>
> 
>     def test_array_order(self):
>         # 1D
>         a = np.arange(1050)
>         for order in "C", "F":
>             z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, order=order)
>             assert order == z.order
>             if order == "F":
>                 assert z[:].flags.f_contiguous
>             else:
>                 assert z[:].flags.c_contiguous
>             z[:] = a
> >           assert_array_equal(a, z[:])
> 
> zarr/tests/test_core.py:594: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00n\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _____________ TestArrayWithFSStoreNestedPartialRead.test_resize_1d _____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a7d64870>
> 
>     def test_resize_1d(self):
>         z = self.create_array(shape=105, chunks=10, dtype="i4", fill_value=0)
>         a = np.arange(105, dtype="i4")
>         z[:] = a
>         assert (105,) == z.shape
> >       assert (105,) == z[:].shape
> 
> zarr/tests/test_core.py:679: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x04(\x00\x00\x00(\x00\x00\x008\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _____________ TestArrayWithFSStoreNestedPartialRead.test_resize_2d _____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a7d64d70>
> 
>     def test_resize_2d(self):
>         z = self.create_array(shape=(105, 105), chunks=(10, 10), dtype="i4", fill_value=0)
>         a = np.arange(105 * 105, dtype="i4").reshape((105, 105))
>         z[:] = a
>         assert (105, 105) == z.shape
> >       assert (105, 105) == z[:].shape
> 
> zarr/tests/test_core.py:714: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x90\x01\x00\x00\xa3\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _____________ TestArrayWithFSStoreNestedPartialRead.test_append_1d _____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a6d05250>
> 
>     def test_append_1d(self):
>         a = np.arange(105)
>         z = self.create_array(shape=a.shape, chunks=10, dtype=a.dtype)
>         z[:] = a
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (10,) == z.chunks
> >       assert_array_equal(a, z[:])
> 
> zarr/tests/test_core.py:776: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x08P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _____________ TestArrayWithFSStoreNestedPartialRead.test_append_2d _____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a6fc5450>
> 
>     def test_append_2d(self):
>         a = np.arange(105 * 105, dtype="i4").reshape((105, 105))
>         z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype)
>         z[:] = a
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (10, 10) == z.chunks
> >       actual = z[:]
> 
> zarr/tests/test_core.py:804: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x90\x01\x00\x00\xa3\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> __________ TestArrayWithFSStoreNestedPartialRead.test_append_2d_axis ___________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a6fc5550>
> 
>     def test_append_2d_axis(self):
>         a = np.arange(105 * 105, dtype="i4").reshape((105, 105))
>         z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype)
>         z[:] = a
>         assert a.shape == z.shape
>         assert a.dtype == z.dtype
>         assert (10, 10) == z.chunks
> >       assert_array_equal(a, z[:])
> 
> zarr/tests/test_core.py:825: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x90\x01\x00\x00\xa3\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _____________ TestArrayWithFSStoreNestedPartialRead.test_np_ufuncs _____________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a76bff50>
> 
>     def test_np_ufuncs(self):
>         z = self.create_array(shape=(100, 100), chunks=(10, 10))
>         a = np.arange(10000).reshape(100, 100)
>         z[:] = a
>     
> >       assert np.sum(a) == np.sum(z)
> 
> zarr/tests/test_core.py:917: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:2313: in sum
>     return _wrapreduction(a, np.add, 'sum', axis, dtype, out, keepdims=keepdims,
> /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:88: in _wrapreduction
>     return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
> zarr/core.py:580: in __array__
>     return np.array(self[...], *args, **kwargs)
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00\xed\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _________ TestArrayWithFSStoreNestedPartialRead.test_array_dtype_shape _________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a6f20500>
> 
>     def test_array_dtype_shape(self):
>         dt = "(2, 2)f4"
>         # setup some data
>         d = np.array([((0, 1), (1, 2)), ((1, 2), (2, 3)), ((2, 3), (3, 4))], dtype=dt)
>     
>         for a in (d, d[:0]):
>             for fill_value in None, 0:
>                 z = self.create_array(shape=a.shape[:-2], chunks=2, dtype=dt, fill_value=fill_value)
>                 assert len(a) == len(z)
>                 if fill_value is not None:
>                     assert fill_value == z.fill_value
>                 z[...] = a
> >               assert_array_equal(a, z[...])
> 
> zarr/tests/test_core.py:1101: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x04 \x00\x00\x00 \x00\x00\x000\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _________ TestArrayWithFSStoreNestedPartialRead.test_structured_array __________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a6f20550>
> 
>     def test_structured_array(self):
>         d = np.array(
>             [(b"aaa", 1, 4.2), (b"bbb", 2, 8.4), (b"ccc", 3, 12.6)],
>             dtype=[("foo", "S3"), ("bar", "i4"), ("baz", "f8")],
>         )
>         fill_values = None, b"", (b"zzz", 42, 16.8)
> >       self.check_structured_array(d, fill_values)
> 
> zarr/tests/test_core.py:1151: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/tests/test_core.py:1136: in check_structured_array
>     assert a[0] == z[0]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x0f\x1e\x00\x00\x00\x1e\x00\x00\x00.\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ____ TestArrayWithFSStoreNestedPartialRead.test_structured_array_subshapes _____
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a6f205a0>
> 
>     def test_structured_array_subshapes(self):
>         d = np.array(
>             [
>                 (0, ((0, 1, 2), (1, 2, 3)), b"aaa"),
>                 (1, ((1, 2, 3), (2, 3, 4)), b"bbb"),
>                 (2, ((2, 3, 4), (3, 4, 5)), b"ccc"),
>             ],
>             dtype=[("foo", "i8"), ("bar", "(2, 3)f4"), ("baz", "S3")],
>         )
>         fill_values = None, b"", (0, ((0, 0, 0), (1, 1, 1)), b"zzz")
> >       self.check_structured_array(d, fill_values)
> 
> zarr/tests/test_core.py:1163: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/tests/test_core.py:1136: in check_structured_array
>     assert a[0] == z[0]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013#F\x00\x00\x00F\x00\x00\x00V\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ______ TestArrayWithFSStoreNestedPartialRead.test_structured_array_nested ______
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a6f205f0>
> 
>     def test_structured_array_nested(self):
>         d = np.array(
>             [
>                 (0, (0, ((0, 1), (1, 2), (2, 3)), 0), b"aaa"),
>                 (1, (1, ((1, 2), (2, 3), (3, 4)), 1), b"bbb"),
>                 (2, (2, ((2, 3), (3, 4), (4, 5)), 2), b"ccc"),
>             ],
>             dtype=[
>                 ("foo", "i8"),
>                 ("bar", [("foo", "i4"), ("bar", "(3, 2)f4"), ("baz", "u1")]),
>                 ("baz", "S3"),
>             ],
>         )
>         fill_values = None, b"", (0, (0, ((0, 0), (1, 1), (2, 2)), 0), b"zzz")
> >       self.check_structured_array(d, fill_values)
> 
> zarr/tests/test_core.py:1179: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/tests/test_core.py:1136: in check_structured_array
>     assert a[0] == z[0]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013(P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ______________ TestArrayWithFSStoreNestedPartialRead.test_dtypes _______________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a6f20640>
> 
>     def test_dtypes(self):
>         # integers
>         for dtype in "u1", "u2", "u4", "u8", "i1", "i2", "i4", "i8":
>             z = self.create_array(shape=10, chunks=3, dtype=dtype)
>             assert z.dtype == np.dtype(dtype)
>             a = np.arange(z.shape[0], dtype=dtype)
>             z[:] = a
> >           assert_array_equal(a, z[:])
> 
> zarr/tests/test_core.py:1188: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x01\x03\x00\x00\x00\x03\x00\x00\x00\x13\x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _______________ TestArrayWithFSStoreNestedPartialRead.test_iter ________________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a6f20910>
> 
>     def test_iter(self):
>         params = (
>             ((1,), (1,)),
>             ((2,), (1,)),
>             ((1,), (2,)),
>             ((3,), (3,)),
>             ((1000,), (100,)),
>             ((100,), (1000,)),
>             ((1, 100), (1, 1)),
>             ((1, 0), (1, 1)),
>             ((0, 1), (1, 1)),
>             ((0, 1), (2, 1)),
>             ((100, 1), (3, 1)),
>             ((100, 100), (10, 10)),
>             ((10, 10, 10), (3, 3, 3)),
>         )
>         for shape, chunks in params:
>             z = self.create_array(shape=shape, chunks=chunks, dtype=int)
>             a = np.arange(np.prod(shape)).reshape(shape)
>             z[:] = a
> >           for expect, actual in zip_longest(a, z):
> 
> zarr/tests/test_core.py:1531: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:637: in islice
>     chunk = self[j : j + chunk_size]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> ______________ TestArrayWithFSStoreNestedPartialRead.test_islice _______________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a6f20960>
> 
>     def test_islice(self):
>         params = (
>             ((1,), (1,), 0, 1),
>             ((2,), (1,), 0, 1),
>             ((1,), (2,), 0, 1),
>             ((3,), (3,), 1, 2),
>             ((1000,), (100,), 150, 1050),
>             ((100,), (1000,), 25, 75),
>             ((1, 100), (1, 1), 0, 1),
>             ((100, 1), (3, 1), 56, 100),
>             ((100, 100), (10, 10), 13, 99),
>             ((10, 10, 10), (3, 3, 3), 2, 4),
>         )
>         for shape, chunks, start, end in params:
>             z = self.create_array(shape=shape, chunks=chunks, dtype=int)
>             a = np.arange(np.prod(shape)).reshape(shape)
>             z[:] = a
>             end_array = min(end, a.shape[0])
> >           for expect, actual in zip_longest(a[start:end_array], z.islice(start, end)):
> 
> zarr/tests/test_core.py:1553: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:637: in islice
>     chunk = self[j : j + chunk_size]
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _____________ TestArrayWithFSStoreNestedPartialRead.test_non_cont ______________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a7db56d0>
> 
>     def test_non_cont(self):
>         z = self.create_array(shape=(500, 500, 500), chunks=(50, 50, 50), dtype="<i4")
>         z[:, :, :] = 1
>         # actually go through the partial read by accessing a single item
> >       assert z[0, :, 0].any()
> 
> zarr/tests/test_core.py:2503: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:796: in __getitem__
>     result = self.get_orthogonal_selection(pure_selection, fields=fields)
> zarr/core.py:1078: in get_orthogonal_selection
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x01!\x04 \xa1\x07\x00 \xa1\x07\x00\xf8\x07\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _ TestArrayWithFSStoreNestedPartialRead.test_read_nitems_less_than_blocksize_from_multiple_chunks _
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a7db5810>
> 
>     def test_read_nitems_less_than_blocksize_from_multiple_chunks(self):
>         """Tests to make sure decompression doesn't fail when `nitems` is
>         less than a compressed block size, but covers multiple blocks
>         """
>         z = self.create_array(shape=1000000, chunks=100_000)
>         z[40_000:80_000] = 1
>         path = None if self.version == 2 else z.path
>         b = Array(z.store, path=path, read_only=True, partial_decompress=True)
> >       assert (b[40_000:80_000] == 1).all()
> 
> zarr/tests/test_core.py:2513: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x01!\x08\x005\x0c\x00\x005\x0c\x00\xdc\x0c\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> _______ TestArrayWithFSStoreNestedPartialRead.test_read_from_all_blocks ________
> 
> self = <zarr.tests.test_core.TestArrayWithFSStoreNestedPartialRead object at 0x7f45a6e649d0>
> 
>     def test_read_from_all_blocks(self):
>         """Tests to make sure `PartialReadBuffer.read_part` doesn't fail when
>         stop isn't in the `start_points` array
>         """
>         z = self.create_array(shape=1000000, chunks=100_000)
>         z[2:99_000] = 1
>         path = None if self.version == 2 else z.path
>         b = Array(z.store, path=path, read_only=True, partial_decompress=True)
> >       assert (b[2:99_000] == 1).all()
> 
> zarr/tests/test_core.py:2523: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> zarr/core.py:798: in __getitem__
>     result = self.get_basic_selection(pure_selection, fields=fields)
> zarr/core.py:924: in get_basic_selection
>     return self._get_basic_selection_nd(selection=selection, out=out, fields=fields)
> zarr/core.py:966: in _get_basic_selection_nd
>     return self._get_selection(indexer=indexer, out=out, fields=fields)
> zarr/core.py:1341: in _get_selection
>     self._chunk_getitems(
> zarr/core.py:2186: in _chunk_getitems
>     self._process_chunk(
> zarr/core.py:2066: in _process_chunk
>     cdata.prepare_chunk()
> zarr/util.py:609: in prepare_chunk
>     nbytes, self.cbytes, blocksize = cbuffer_sizes(header)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wrapped_ = <built-in function _cbuffer_sizes>, instance_ = None
> args_ = (b'\x02\x01!\x08\x005\x0c\x00\x005\x0c\x00\xe0\x0c\x00\x00',)
> kwargs_ = {}
> 
>     @wrapt.decorator
>     def wrapper_function(wrapped_, instance_, args_, kwargs_):
>         msg = self.get_deprecated_msg(wrapped_, instance_)
>         stacklevel = _routine_stacklevel + self.extra_stacklevel
>         if self.action:
>             with warnings.catch_warnings():
>                 warnings.simplefilter(self.action, self.category)
>                 warnings.warn(msg, category=self.category, stacklevel=stacklevel)
>         else:
> >           warnings.warn(msg, category=self.category, stacklevel=stacklevel)
> E           DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes.
> 
> /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning
> =============================== warnings summary ===============================
> zarr/tests/test_core.py::TestArrayWithDBMStore::test_array_order
>   /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored in: <sqlite3.Connection object at 0x7f45a7294400>
>   
>   Traceback (most recent call last):
>     File "/build/reproducible-path/zarr-2.18.4+ds/.pybuild/cpython3_3.13_zarr/build/zarr/indexing.py", line 357, in <genexpr>
>       out_selection = tuple(
>       
>   ResourceWarning: unclosed database in <sqlite3.Connection object at 0x7f45a7294400>
>   
>     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
> 
> zarr/tests/test_core.py::TestArrayWithDBMStore::test_object_arrays_danger
>   /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored in: <sqlite3.Connection object at 0x7f45a798f6a0>
>   
>   Traceback (most recent call last):
>     File "/build/reproducible-path/zarr-2.18.4+ds/.pybuild/cpython3_3.13_zarr/build/zarr/indexing.py", line 355, in <genexpr>
>       chunk_coords = tuple(p.dim_chunk_ix for p in dim_projections)
>       
>   ResourceWarning: unclosed database in <sqlite3.Connection object at 0x7f45a798f6a0>
>   
>     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
> 
> zarr/tests/test_core.py::TestArrayWithSQLiteStore::test_resize_2d
>   /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored in: <sqlite3.Connection object at 0x7f45a798e200>
>   
>   Traceback (most recent call last):
>     File "/build/reproducible-path/zarr-2.18.4+ds/.pybuild/cpython3_3.13_zarr/build/zarr/indexing.py", line 356, in <genexpr>
>       chunk_selection = tuple(p.dim_chunk_sel for p in dim_projections)
>       
>   ResourceWarning: unclosed database in <sqlite3.Connection object at 0x7f45a798e200>
>   
>     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
> 
> zarr/tests/test_core.py::TestArrayWithSQLiteStore::test_object_arrays_vlen_text
>   /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored in: <sqlite3.Connection object at 0x7f45a798ef20>
>   
>   Traceback (most recent call last):
>     File "/build/reproducible-path/zarr-2.18.4+ds/.pybuild/cpython3_3.13_zarr/build/zarr/indexing.py", line 355, in <genexpr>
>       chunk_coords = tuple(p.dim_chunk_ix for p in dim_projections)
>       
>   ResourceWarning: unclosed database in <sqlite3.Connection object at 0x7f45a798ef20>
>   
>     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
> 
> zarr/tests/test_core.py::TestArrayWithNoCompressor::test_array_2d
>   /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored in: <sqlite3.Connection object at 0x7f45a798da80>
>   
>   Traceback (most recent call last):
>     File "/build/reproducible-path/zarr-2.18.4+ds/.pybuild/cpython3_3.13_zarr/build/zarr/indexing.py", line 355, in <genexpr>
>       chunk_coords = tuple(p.dim_chunk_ix for p in dim_projections)
>       
>   ResourceWarning: unclosed database in <sqlite3.Connection object at 0x7f45a798da80>
>   
>     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
> 
> zarr/tests/test_storage.py::TestZipStore::test_store_and_retrieve_ndarray
>   /usr/lib/python3.13/zipfile/__init__.py:1641: UserWarning: Duplicate name: 'foo'
>     return self._open_to_write(zinfo, force_zip64=force_zip64)
> 
> zarr/tests/test_sync.py: 32 warnings
>   /usr/lib/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: This process (pid=241) is multi-threaded, use of fork() may lead to deadlocks in the child.
>     self.pid = os.fork()
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ============================= slowest 10 durations =============================
> 7.33s call     zarr/tests/test_indexing.py::test_set_orthogonal_selection_3d
> 2.26s call     zarr/tests/test_core.py::TestArrayWithSQLiteStore::test_iter
> 2.22s call     zarr/tests/test_core.py::TestArrayWithSQLiteStore::test_islice
> 1.94s call     zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_non_cont
> 1.71s call     zarr/tests/test_core.py::TestArrayWithSQLiteStore::test_resize_2d
> 1.71s call     zarr/tests/test_core.py::TestArrayWithSQLiteStore::test_append_2d
> 1.66s call     zarr/tests/test_core.py::TestArrayWithDBMStore::test_iter
> 1.62s call     zarr/tests/test_storage.py::test_format_compatibility
> 1.54s call     zarr/tests/test_core.py::TestArrayWithDBMStore::test_islice
> 1.53s call     zarr/tests/test_core.py::TestArrayWithSQLiteStore::test_append_2d_axis
> =========================== short test summary info ============================
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_1d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_1d_fill_value
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_1d_selections
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_2d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_2d_edge_case
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_2d_partial
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_order
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_resize_1d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_resize_2d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_append_1d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_append_2d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_append_2d_axis
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_np_ufuncs
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_dtype_shape
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_structured_array
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_structured_array_subshapes
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_structured_array_nested
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_dtypes
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_iter - ...
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_islice
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_non_cont
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_read_nitems_less_than_blocksize_from_multiple_chunks
> FAILED zarr/tests/test_core.py::TestArrayWithFSStorePartialRead::test_read_from_all_blocks
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_1d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_1d_fill_value
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_1d_selections
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_2d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_2d_edge_case
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_2d_partial
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_order
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_resize_1d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_resize_2d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_append_1d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_append_2d
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_append_2d_axis
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_np_ufuncs
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_dtype_shape
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_structured_array
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_structured_array_subshapes
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_structured_array_nested
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_dtypes
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_iter
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_islice
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_non_cont
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_read_nitems_less_than_blocksize_from_multiple_chunks
> FAILED zarr/tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_read_from_all_blocks
> = 46 failed, 2204 passed, 2004 skipped, 717 deselected, 4 xfailed, 38 warnings in 97.22s (0:01:37) =
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/zarr-2.18.4+ds/.pybuild/cpython3_3.13_zarr/build; python3.13 -m pytest -k "not test_hierarchy and not test_complex and not test_array_with_delta_filter and not test_utf8_encoding and not [static_flat] and not [static_nested] and not [static_flat_legacy] and not [static_nested_legacy] and not test_meta_prefix_6853 and not test_encode_decode_array_dtype_shape_v3" --pyargs zarr
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.13" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2025/01/24/zarr_2.18.4+ds-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250124;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250124&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the debian-science-maintainers mailing list