Skip to content

Commit

Permalink
fix: mock numpy.linalg in conf.py (sphinx)
Browse files Browse the repository at this point in the history
  • Loading branch information
phantomas1234 committed Feb 2, 2016
1 parent 257c8cd commit c6f5098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Expand Up @@ -26,7 +26,7 @@ class Mock(MagicMock):
def __getattr__(cls, name):
return Mock()

MOCK_MODULES = ['numpy', 'numpy.random', 'matplotlib', 'pandas', 'scipy', 'scipy.sparse',
MOCK_MODULES = ['numpy', 'numpy.random', 'numpy.linalg', 'matplotlib', 'pandas', 'scipy', 'scipy.sparse',
'scipy.io', 'scipy.stats', 'scipy.version', 'bokeh', 'bokeh.plotting', 'swiglpk',
'glpk', 'gurobipy', 'gurobipy.GRB', 'cplex', 'mlabwrap', 'pp', 'libsbml', 'METANETX', '_METANETX']
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
Expand Down

0 comments on commit c6f5098

Please sign in to comment.