Skip to content

Commit

Permalink
Fix skipping in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Dec 8, 2024
1 parent 9eaf470 commit c95d074
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions zarr/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -2069,13 +2069,11 @@ class DBMStore(Store):
<https://www.jcea.es/programacion/pybsddb.htm>`_ package is installed, a
Berkeley DB database can be used:
.. doctest-requires:: bsddb3
>>> import bsddb3
>>> store = zarr.DBMStore('data/array.bdb', open=bsddb3.btopen)
>>> z = zarr.zeros((10, 10), chunks=(5, 5), store=store, overwrite=True)
>>> z[...] = 42
>>> store.close()
>>> import bsddb3 # doctest: +SKIP
>>> store = zarr.DBMStore('data/array.bdb', open=bsddb3.btopen) # doctest: +SKIP
>>> z = zarr.zeros((10, 10), chunks=(5, 5), store=store, overwrite=True) # doctest: +SKIP
>>> z[...] = 42 # doctest: +SKIP
>>> store.close() # doctest: +SKIP
Notes
-----
Expand Down

0 comments on commit c95d074

Please sign in to comment.