mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-21 14:05:14 +02:00
More mocking, almost done
This commit is contained in:
parent
7c230b96fe
commit
6b5576cd84
1 changed files with 2 additions and 1 deletions
|
|
@ -47,7 +47,8 @@ class Mock(MagicMock):
|
||||||
def __getattr__(cls, name):
|
def __getattr__(cls, name):
|
||||||
return Mock()
|
return Mock()
|
||||||
|
|
||||||
MOCK_MODULES = ['scipy.linalg.blas', 'blas', 'scipy.linalg', 'scipy', 'scipy.special', 'scipy.integrate', 'scipy.io', 'GPy.util.choleskies_cython']
|
MOCK_MODULES = ['scipy.linalg.blas', 'blas', 'scipy.linalg', 'scipy', 'scipy.special', 'scipy.integrate', 'scipy.io', 'scipy.stats', 'GPy.util.choleskies_cython',
|
||||||
|
'sympy', 'sympy.utilities', 'sympy.utilities.codegen', 'sympy.core.cache', 'sympy.core', 'sympy.parsing', 'sympy.parsing.sympy_parser' ]
|
||||||
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
|
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue