mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +02:00
Don't override global cython config in tests
This commit is contained in:
parent
928559216c
commit
46d3b6ce5c
2 changed files with 5 additions and 3 deletions
|
|
@ -4,15 +4,17 @@ from GPy.util import choleskies
|
|||
import GPy
|
||||
import unittest
|
||||
|
||||
from ..util.config import config
|
||||
|
||||
try:
|
||||
from ..util import choleskies_cython
|
||||
choleskies_cython_working = True
|
||||
choleskies_cython_working = config.getboolean('cython', 'working')
|
||||
except ImportError:
|
||||
choleskies_cython_working = False
|
||||
|
||||
try:
|
||||
from ..kern.src import stationary_cython
|
||||
stationary_cython_working = True
|
||||
stationary_cython_working = config.getboolean('cython', 'working')
|
||||
except ImportError:
|
||||
stationary_cython_working = False
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ verbose = 0
|
|||
|
||||
try:
|
||||
from ..kern.src import coregionalize_cython
|
||||
cython_coregionalize_working = True
|
||||
cython_coregionalize_working = config.getboolean('cython', 'working')
|
||||
except ImportError:
|
||||
cython_coregionalize_working = False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue