File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,6 @@ def _check_deps():
47
47
"numpydoc" : 'numpydoc' ,
48
48
"PIL.Image" : 'pillow' ,
49
49
"sphinx_gallery" : 'sphinx_gallery' }
50
- if sys .version_info < (3 , 3 ):
51
- names ["mock" ] = 'mock'
52
50
missing = []
53
51
for name in names :
54
52
try :
@@ -64,10 +62,6 @@ def _check_deps():
64
62
_check_deps ()
65
63
66
64
import matplotlib
67
- try :
68
- from unittest .mock import MagicMock
69
- except ImportError :
70
- from mock import MagicMock
71
65
72
66
73
67
# Use IPython's console highlighting by default
Original file line number Diff line number Diff line change @@ -18,10 +18,9 @@ requirements that are needed to build the documentation. They are listed in
18
18
1. Sphinx 1.3 or later (1.5.0 is not supported)
19
19
2. numpydoc 0.4 or later
20
20
3. IPython
21
- 4. mock
22
- 5. colorspacious
23
- 6. Pillow
24
- 7. Graphviz
21
+ 4. colorspacious
22
+ 5. pillow
23
+ 6. graphviz
25
24
26
25
.. note ::
27
26
You can’t perform that action at this time.
0 commit comments