Skip to content

Commit

Permalink
Additional mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
David Hadka committed Sep 16, 2015
1 parent 1a9b3a7 commit a70e533
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SALib API
Samplers
--------

.. automodule:: SALib.sample.fast
.. automodule:: SALib.sample.fast_sampler

.. automodule:: SALib.sample.ff

Expand Down
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
# Work on ReadTheDocs.org
#on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
#if on_rtd:
MOCK_MODULES = [ 'numpy', 'scipy', 'scipy.linalg', 'scipy.misc', 'matplotlib' ]
MOCK_MODULES = [ 'numpy', 'scipy', 'scipy.linalg', 'scipy.misc',
'scipy.spatial.distance', 'matplotlib' ]
try:
from unittest.mock import MagicMock
class Mock(MagicMock):
Expand Down

0 comments on commit a70e533

Please sign in to comment.