#NEWLINE# def test_ab( self ) : #NEWLINE# #INDENT# rv = stats . genpareto ( c = ( - 0.1 ) ) #NEWLINE# ( a , b ) = ( rv . dist . a , rv . dist . b ) #NEWLINE# assert_equal ( [ a , b ] , [ 0.0 , 10.0 ] ) #NEWLINE# assert_equal ( [ rv . a , rv . b ] , [ 0.0 , 10.0 ] ) #NEWLINE# stats . genpareto . pdf ( 0 , c = 0.1 ) #NEWLINE# assert_equal ( [ rv . dist . a , rv . dist . b ] , [ a , b ] ) #NEWLINE# assert_equal ( [ rv . a , rv . b ] , [ a , b ] ) #NEWLINE# rv1 = stats . genpareto ( c = 0.1 ) #NEWLINE# assert_ ( ( rv1 . dist is not rv . dist ) )