mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-29 06:46:22 +02:00
More fixing...
This commit is contained in:
parent
23aa9be73c
commit
fe1c5431df
2 changed files with 3 additions and 4 deletions
|
|
@ -29,8 +29,7 @@ try:
|
|||
except ImportError:
|
||||
from mock import MagicMock
|
||||
|
||||
MOCK_MODULES = ['numpy', 'quantities', 'scipy', 'scipy.spatial',
|
||||
'scipy.spatial.distance']
|
||||
MOCK_MODULES = ['numpy', 'pylab', 'scipy']
|
||||
for mod_name in MOCK_MODULES:
|
||||
sys.modules[mod_name] = MagicMock()
|
||||
|
||||
|
|
@ -50,7 +49,7 @@ except ImportError:
|
|||
#sys.modules['guiqwt.tools'].CommandTool = CommandTool
|
||||
#sys.modules['guiqwt.tools'].InteractiveTool = InteractiveTool
|
||||
|
||||
import Gpy
|
||||
import GPy
|
||||
|
||||
|
||||
# If your extensions are in another directory, add it here. If the directory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue