#NEWLINE# def test_Fixed( self ) : #NEWLINE# #INDENT# Xall = np . concatenate ( [ self . X , self . X ] ) #NEWLINE# cov = np . dot ( Xall , k . T ) #NEWLINE# X = np . arange ( self . N ) . reshape ( 1 , self . N ) #NEWLINE# k = GPy . kern . Fixed ( 1 , cov ) #NEWLINE# k . randomize ( ) #NEWLINE# self . assertTrue ( check_kernel_gradient_functions ( k , X = X , X2 = None , verbose = verbose ) )