mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-26 15:49:40 +02:00
More mocking
This commit is contained in:
parent
d25bba0d41
commit
37fec56588
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ 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']
|
MOCK_MODULES = ['scipy.linalg.blas', 'blas', 'scipy.linalg', 'scipy', 'scipy.special', 'scipy.integrate', 'scipy.io', 'choleskies_cython']
|
||||||
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