Skip to content

Commit 805777f

Browse files
committed
Minor docs build cleanup.
1 parent f0f351c commit 805777f

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

doc/conf.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ def _check_deps():
4747
"numpydoc": 'numpydoc',
4848
"PIL.Image": 'pillow',
4949
"sphinx_gallery": 'sphinx_gallery'}
50-
if sys.version_info < (3, 3):
51-
names["mock"] = 'mock'
5250
missing = []
5351
for name in names:
5452
try:
@@ -64,10 +62,6 @@ def _check_deps():
6462
_check_deps()
6563

6664
import matplotlib
67-
try:
68-
from unittest.mock import MagicMock
69-
except ImportError:
70-
from mock import MagicMock
7165

7266

7367
# Use IPython's console highlighting by default

doc/devel/documenting_mpl.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ requirements that are needed to build the documentation. They are listed in
1818
1. Sphinx 1.3 or later (1.5.0 is not supported)
1919
2. numpydoc 0.4 or later
2020
3. IPython
21-
4. mock
22-
5. colorspacious
23-
6. Pillow
24-
7. Graphviz
21+
4. colorspacious
22+
5. pillow
23+
6. graphviz
2524

2625
.. note::
2726

0 commit comments

Comments
 (0)