Skip to content

Commit c07a339

Browse files
committed
Fix doctest requires
1 parent a42a14d commit c07a339

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -809,9 +809,9 @@ Another storage alternative is the :class:`zarr.storage.DBMStore` class, added
809809
in Zarr version 2.2. This class allows any DBM-style database to be used for
810810
storing an array or group. Here is an example using a Berkeley DB B-tree
811811
database for storage (requires `bsddb3
812-
<https://www.jcea.es/programacion/pybsddb.htm>`_ to be installed)::
812+
<https://www.jcea.es/programacion/pybsddb.htm>`_ to be installed):
813813

814-
.. doctest-requires:: bsddb3
814+
.. doctest-requires::
815815

816816
>>> import bsddb3
817817
>>> store = zarr.DBMStore('data/example.bdb', open=bsddb3.btopen)

zarr/storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2067,7 +2067,7 @@ 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
20722072
.. doctest-requires:: bsddb3
20732073

0 commit comments

Comments
 (0)