#NEWLINE# def test_logpdf( self ) : #NEWLINE# #INDENT# logpdf = stats . beta . logpdf ( 0 , 1 , 0.5 ) #NEWLINE# assert_almost_equal ( self , ( - 0.69314718056 ) ) #NEWLINE# logpdf = stats . beta . logpdf ( 0 , 0.5 , 1 ) #NEWLINE# assert_almost_equal ( logpdf , np . inf )