mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-29 14:56:24 +02:00
deactivated test_models()
This commit is contained in:
parent
1f5837d200
commit
dc19f44a7f
2 changed files with 6 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ import inspect
|
|||
import pkgutil
|
||||
import os
|
||||
import random
|
||||
|
||||
from nose.tools import nottest
|
||||
|
||||
class ExamplesTests(unittest.TestCase):
|
||||
def _checkgrad(self, model):
|
||||
|
|
@ -37,7 +37,7 @@ def model_checkgrads(model):
|
|||
def model_instance(model):
|
||||
assert isinstance(model, GPy.core.model)
|
||||
|
||||
|
||||
@nottest
|
||||
def test_models():
|
||||
examples_path = os.path.dirname(GPy.examples.__file__)
|
||||
#Load modules
|
||||
|
|
@ -51,6 +51,10 @@ def test_models():
|
|||
print "After"
|
||||
print functions
|
||||
for example in functions:
|
||||
if example[0] in ['oil', 'silhouette', 'GPLVM_oil_100']:
|
||||
print "SKIPPING"
|
||||
continue
|
||||
|
||||
print "Testing example: ", example[0]
|
||||
#Generate model
|
||||
model = example[1]()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue