diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2016-10-28 17:07:42 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2016-10-28 17:07:42 +0200 |
commit | 8cd32fc567841b8f9557265bb1cf952310563bfd (patch) | |
tree | 56541ec18a5bfc932fe1b5ab779491cb36d4013e | |
parent | 46e304dce30ab243c40174a4c6659cec358056d4 (diff) |
RTD3
-rw-r--r-- | docs/source/conf.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py index 0031d77..bca78a2 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -14,18 +14,18 @@ import sys import os -from unittest.mock import MagicMock +#from unittest.mock import MagicMock sys.path.insert(0, os.path.abspath("../..")) -class Mock(MagicMock): - @classmethod - def __getattr__(cls, name): - return Mock() - -MOCK_MODULES = [ 'numpy', 'scipy'] -sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES) +# class Mock(MagicMock): +# @classmethod +# def __getattr__(cls, name): +# return Mock() +# +# MOCK_MODULES = [ 'numpy', 'scipy'] +# sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES) # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the |