Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
lthurner committed Mar 2, 2017
2 parents 806bfec + 52af297 commit d73eaa1
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,12 @@
# serve to show the default.

import sys, os
try:
import mock
MOCK_MODULES = ['numpy', 'scipy', 'numba', 'pandas', 'matplotlib', 'scipy.sparse', 'scipy.sparse.linalg', 'numpy.core',
import mock
MOCK_MODULES = ['numpy', 'scipy', 'numba', 'pandas', 'matplotlib', 'scipy.sparse', 'scipy.sparse.linalg', 'numpy.core',
'numpy.core.numeric', 'scipy.io', 'numpy.linalg', 'matplotlib.collections', 'matplotlib.patches',
'matplotlib.pyplot', 'matplotlib.colors', 'scipy.stats']
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.Mock()
except:
pass
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.Mock()

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand Down

0 comments on commit d73eaa1

Please sign in to comment.