Add scipy modules to mock modules for doc build

This commit is contained in:
Paul Romano 2017-07-06 21:11:39 -05:00
parent 0c69153628
commit 397511fc0d

View file

@ -25,8 +25,9 @@ except ImportError:
MOCK_MODULES = ['numpy', 'numpy.polynomial', 'numpy.polynomial.polynomial',
'h5py', 'pandas', 'uncertainties', 'openmoc',
'openmc.data.reconstruct']
'scipy', 'scipy.sparse', 'scipy.interpolate', 'scipy.integrate',
'scipy.optimize', 'scipy.special', 'h5py', 'pandas',
'uncertainties', 'openmoc', 'openmc.data.reconstruct']
sys.modules.update((mod_name, MagicMock()) for mod_name in MOCK_MODULES)
import numpy as np