Skip to content

Commit

Permalink
Add pytest-doctestplus doc dep
Browse files Browse the repository at this point in the history
Fix doctest requires

Try bumping version of pytest-doctestplus

Fixup doctest requires
  • Loading branch information
dstansby committed Dec 8, 2024
1 parent cc93f31 commit b55446d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ Another storage alternative is the :class:`zarr.storage.DBMStore` class, added
in Zarr version 2.2. This class allows any DBM-style database to be used for
storing an array or group. Here is an example using a Berkeley DB B-tree
database for storage (requires `bsddb3
<https://www.jcea.es/programacion/pybsddb.htm>`_ to be installed)::
<https://www.jcea.es/programacion/pybsddb.htm>`_ to be installed):

.. doctest-requires:: bsddb3

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ docs = [
'pydata-sphinx-theme',
'numpydoc',
'numcodecs[msgpack]!=0.14.0',
'pytest-doctestplus',
]

[project.urls]
Expand Down
2 changes: 1 addition & 1 deletion requirements_dev_optional.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pymongo==4.10.1
# optional test requirements
coverage
pytest-cov==5.0.0
pytest-doctestplus==1.2.1
pytest-doctestplus==1.3.0
pytest-timeout==2.3.1
h5py==3.12.1
fsspec==2023.12.2
Expand Down
2 changes: 1 addition & 1 deletion zarr/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -2067,7 +2067,7 @@ class DBMStore(Store):
A different database library can be used by passing a different function to
the `open` parameter. For example, if the `bsddb3
<https://www.jcea.es/programacion/pybsddb.htm>`_ package is installed, a
Berkeley DB database can be used::
Berkeley DB database can be used:
.. doctest-requires:: bsddb3
Expand Down

0 comments on commit b55446d

Please sign in to comment.