mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-01 15:52:39 +02:00
removed some mocks
This commit is contained in:
parent
73f132fe19
commit
a1746a6ab9
1 changed files with 4 additions and 4 deletions
|
|
@ -114,7 +114,7 @@ class Mock(object):
|
|||
#sys.path.append("../GPy")
|
||||
#import mock
|
||||
|
||||
MOCK_MODULES = ['pylab', 'matplotlib', 'sympy', 'sympy.utilities', 'sympy.utilities.codegen', 'sympy.core.cache', 'sympy.core', 'sympy.parsing', 'sympy.parsing.sympy_parser']#'matplotlib', 'matplotlib.color', 'matplotlib.pyplot', 'pylab' ]
|
||||
MOCK_MODULES = ['pylab']#, 'matplotlib', 'sympy', 'sympy.utilities', 'sympy.utilities.codegen', 'sympy.core.cache', 'sympy.core', 'sympy.parsing', 'sympy.parsing.sympy_parser']#'matplotlib', 'matplotlib.color', 'matplotlib.pyplot', 'pylab' ]
|
||||
for mod_name in MOCK_MODULES:
|
||||
sys.modules[mod_name] = Mock()
|
||||
|
||||
|
|
@ -141,10 +141,10 @@ sys.path.append(os.path.abspath('sphinxext'))
|
|||
# Add any Sphinx extension module names here, as strings. They can be extensions
|
||||
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode',
|
||||
#'matplotlib.sphinxext.mathmpl',
|
||||
#'matplotlib.sphinxext.only_directives',
|
||||
'matplotlib.sphinxext.mathmpl',
|
||||
'matplotlib.sphinxext.only_directives',
|
||||
'matplotlib.sphinxext.plot_directive',
|
||||
#'matplotlib.sphinxext.ipython_directive',
|
||||
'matplotlib.sphinxext.ipython_directive',
|
||||
'sphinx.ext.doctest',
|
||||
'ipython_console_highlighting',
|
||||
'inheritance_diagram',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue