Skip to content

Commit

Permalink
fixed mock module
Browse files Browse the repository at this point in the history
  • Loading branch information
decarlof committed Feb 19, 2017
1 parent 8d37b2f commit a15a690
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,12 +323,16 @@ def __radd__(self, other):
return Mock()

MOCK_MODULES = ['h5py',
'numpy',
'numpy',
'numpy.random'
'numpy.fft',
'spefile',
'netCDF4',
'EdfFile',
'astropy',
'olefile']
'olefile',
'scipy',
'scipy.misc']

for mod_name in MOCK_MODULES:
sys.modules[mod_name] = Mock()

0 comments on commit a15a690

Please sign in to comment.