mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-02 14:45:15 +02:00
Mocking blas
This commit is contained in:
parent
b769421bf3
commit
b2370b3f10
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']
|
MOCK_MODULES = ['scipy.linalg.blas', 'blas', 'scipy.linalg']
|
||||||
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