From a46121c430c4fee5300d652d3e8ce249bf52d0ab Mon Sep 17 00:00:00 2001 From: Alan Saul Date: Thu, 24 Oct 2013 15:49:20 +0100 Subject: [PATCH] Was a bug in the examples_tests.py, fixed and added brendan faces to ignore list --- GPy/testing/examples_tests.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/GPy/testing/examples_tests.py b/GPy/testing/examples_tests.py index 989251a7..15dbe234 100644 --- a/GPy/testing/examples_tests.py +++ b/GPy/testing/examples_tests.py @@ -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