Skip to content

Commit e52e1a3

Browse files
committed
Fix skipping in docstring
1 parent 9eaf470 commit e52e1a3

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

zarr/storage.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2067,15 +2067,13 @@ class DBMStore(Store):
20672067
A different database library can be used by passing a different function to
20682068
the `open` parameter. For example, if the `bsddb3
20692069
<https://www.jcea.es/programacion/pybsddb.htm>`_ package is installed, a
2070-
Berkeley DB database can be used:
2070+
Berkeley DB database can be used::
20712071
2072-
.. doctest-requires:: bsddb3
2073-
2074-
>>> import bsddb3
2075-
>>> store = zarr.DBMStore('data/array.bdb', open=bsddb3.btopen)
2076-
>>> z = zarr.zeros((10, 10), chunks=(5, 5), store=store, overwrite=True)
2077-
>>> z[...] = 42
2078-
>>> store.close()
2072+
>>> import bsddb3 # doctest: +SKIP
2073+
>>> store = zarr.DBMStore('data/array.bdb', open=bsddb3.btopen) # doctest: +SKIP
2074+
>>> z = zarr.zeros((10, 10), chunks=(5, 5), store=store, overwrite=True) # doctest: +SKIP
2075+
>>> z[...] = 42 # doctest: +SKIP
2076+
>>> store.close() # doctest: +SKIP
20792077
20802078
Notes
20812079
-----

0 commit comments

Comments
 (0)