Skip to content

Commit

Permalink
More mocking in conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mstimberg committed Dec 2, 2020
1 parent cebe9a6 commit 944267e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs_sphinx/conf.py
Expand Up @@ -68,6 +68,7 @@

MOCK_MODULES = ['matplotlib', 'matplotlib.colors', 'matplotlib.patches', 'matplotlib.pyplot', 'matplotlib.ticker', 'matplotlib.cm',
'mpl_toolkits', 'mpl_toolkits.axes_grid1',
'markdown_strings',
'numpy', 'numpy.ma',
'lems', 'lems.api',
'brian2',
Expand All @@ -83,7 +84,7 @@
'brian2.synapses', 'brian2.synapses.synapses',
'brian2.units', 'brian2.units.allunits', 'brian2.units.fundamentalunits', 'brian2.units.stdunits',
'brian2.utils', 'brian2.utils.logger', 'brian2.utils.stringtools',
'sympy']
'sympy', 'sympy.printing', 'sympy.abc']
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
sys.modules['brian2.units.allunits'].all_units = MagicMock()
sys.modules['brian2.devices.device'].all_devices = MagicMock()
Expand Down

0 comments on commit 944267e

Please sign in to comment.