Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cf4e812

Browse files
committed
doc: add pandas and xarray fixtures to testing API docs
1 parent 613c9c9 commit cf4e812

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

doc/api/testing_api.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,10 @@
3737
:members:
3838
:undoc-members:
3939
:show-inheritance:
40+
41+
42+
Data container testing fixtures
43+
==================================
44+
45+
.. autofunction:: matplotlib.testing.conftest.pd
46+
.. autofunction:: matplotlib.testing.conftest.xr

doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ def tutorials_download_error(record):
220220

221221
autosummary_generate = True
222222
autodoc_typehints = "none"
223+
autodoc_mock_imports = ["pytest"]
223224

224225
# we should ignore warnings coming from importing deprecated modules for
225226
# autodoc purposes, as this will disappear automatically when they are removed

0 commit comments

Comments
 (0)