mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Add scipy modules to mock modules for doc build
This commit is contained in:
parent
0c69153628
commit
397511fc0d
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue