mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-30 15:26:23 +02:00
Changes to fix autodoc - need to test with ReadTheDocs still
This commit is contained in:
parent
2e65b21e23
commit
6897cf34b5
2 changed files with 3 additions and 3 deletions
|
|
@ -83,6 +83,7 @@ print "finished importing"
|
|||
#############################################################################
|
||||
|
||||
class Mock(object):
|
||||
__all__ = []
|
||||
def __init__(self, *args, **kwargs):
|
||||
pass
|
||||
|
||||
|
|
@ -105,8 +106,7 @@ class Mock(object):
|
|||
print "Mocking"
|
||||
MOCK_MODULES = ['sympy',
|
||||
'sympy.utilities', 'sympy.utilities.codegen', 'sympy.core.cache',
|
||||
'sympy.core', 'sympy.parsing', 'sympy.parsing.sympy_parser',
|
||||
'matplotlib.pyplot'
|
||||
'sympy.core', 'sympy.parsing', 'sympy.parsing.sympy_parser'
|
||||
]
|
||||
for mod_name in MOCK_MODULES:
|
||||
sys.modules[mod_name] = Mock()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue