diff --git a/GPy/__init__.py b/GPy/__init__.py index 5f2a209f..2b5c233f 100644 --- a/GPy/__init__.py +++ b/GPy/__init__.py @@ -28,11 +28,11 @@ try: #Get rid of nose dependency by only ignoring if you have nose installed from nose.tools import nottest @nottest - def tests(): - Tester(testing).test(verbose=10) + def tests(verbose=10): + Tester(testing).test(verbose=verbose) except: - def tests(): - Tester(testing).test(verbose=10) + def tests(verbose=10): + Tester(testing).test(verbose=verbose) def load(file_path): """ diff --git a/GPy/kern/_src/independent_outputs.py b/GPy/kern/_src/independent_outputs.py index 9ebb5711..e9c575bf 100644 --- a/GPy/kern/_src/independent_outputs.py +++ b/GPy/kern/_src/independent_outputs.py @@ -105,7 +105,7 @@ class IndependentOutputs(CombinationKernel): if X2 is None: # TODO: make use of index_to_slices # FIXME: Broken as X is already sliced out - print("Warning, gradients_X may not be working, I believe X has already been sliced out by the slicer!") + # print("Warning, gradients_X may not be working, I believe X has already been sliced out by the slicer!") values = np.unique(X[:,self.index_dim]) slices = [X[:,self.index_dim]==i for i in values] [target.__setitem__(s, kern.gradients_X(dL_dK[s,s],X[s],None))