Was a bug in the examples_tests.py, fixed and added brendan faces to ignore list

This commit is contained in:
Alan Saul 2013-10-24 15:49:20 +01:00
parent de9e5e7fb0
commit a46121c430

View file

@ -37,9 +37,8 @@ def model_checkgrads(model):
def model_instance(model):
#assert isinstance(model, GPy.core.model)
return isinstance(model, GPy.core.model)
return isinstance(model, GPy.core.model.Model)
@nottest
def test_models():
examples_path = os.path.dirname(GPy.examples.__file__)
# Load modules
@ -54,7 +53,7 @@ def test_models():
print "After"
print functions
for example in functions:
if example[0] in ['oil', 'silhouette', 'GPLVM_oil_100']:
if example[0] in ['oil', 'silhouette', 'GPLVM_oil_100', 'brendan_faces']:
print "SKIPPING"
continue