From 4834339550f9aab3d961edff62fcb3a53bbe56bb Mon Sep 17 00:00:00 2001 From: Martin Bubel Date: Wed, 18 Oct 2023 20:21:16 +0200 Subject: [PATCH] remove todos --- GPy/testing/test_examples.py | 1 - GPy/testing/test_inference.py | 2 -- GPy/testing/test_likelihood.py | 3 --- GPy/testing/test_pickle.py | 3 +-- 4 files changed, 1 insertion(+), 8 deletions(-) diff --git a/GPy/testing/test_examples.py b/GPy/testing/test_examples.py index f8f12179..a02076d3 100644 --- a/GPy/testing/test_examples.py +++ b/GPy/testing/test_examples.py @@ -36,7 +36,6 @@ def flatten_nested(lst): def test_models(): - # TODO: testing setup is not that clear to me yet... optimize = False plot = True examples_path = os.path.dirname(GPy.examples.__file__) diff --git a/GPy/testing/test_inference.py b/GPy/testing/test_inference.py index 34b02ce0..abcfb753 100644 --- a/GPy/testing/test_inference.py +++ b/GPy/testing/test_inference.py @@ -258,7 +258,6 @@ class TestHMCSampler: hmc = GPy.inference.mcmc.HMC(m, stepsize=1e-2) _s = hmc.sample(num_samples=3) - # TODO: seems like there is no test here? class TestMCMCSampler: @@ -274,4 +273,3 @@ class TestMCMCSampler: mcmc = GPy.inference.mcmc.Metropolis_Hastings(m) mcmc.sample(Ntotal=100, Nburn=10) - # TODO: seems like there is no test here? diff --git a/GPy/testing/test_likelihood.py b/GPy/testing/test_likelihood.py index f35bd0f3..24ed96e3 100644 --- a/GPy/testing/test_likelihood.py +++ b/GPy/testing/test_likelihood.py @@ -495,8 +495,6 @@ class TestNoiseModels: yield self.t_dexp_dmu, model, Y, Y_metadata yield self.t_dexp_dvar, model, Y, Y_metadata - # TODO: how to now run all of the tests? - ############# # dpdf # _df's # @@ -885,7 +883,6 @@ class LaplaceTests: self.var = np.random.rand(1) self.stu_t = GPy.likelihoods.StudentT(deg_free=5, sigma2=self.var) - # TODO: gaussians with on Identity link. self.gauss = GPy.likelihoods.Gaussian(gp_link=link_functions.Log(), variance=self.var) self.gauss = GPy.likelihoods.Gaussian(variance=self.var) # Make a bigger step as lower bound can be quite curved diff --git a/GPy/testing/test_pickle.py b/GPy/testing/test_pickle.py index fd1f8105..9fdeab95 100644 --- a/GPy/testing/test_pickle.py +++ b/GPy/testing/test_pickle.py @@ -34,8 +34,7 @@ class ListDictTestCase: class TestPickleSupport(ListDictTestCase): - # TODO: why is this test skipped? - @pytest.mark.skip(reason="") + @pytest.mark.skip(reason="") # why is this test skipped? def test_load_pickle(self): import os