@raises(ValueError)
def test_randomize_corrmat_tail_error():
 a = rs.randn(3, 30)
 algo.randomize_corrmat(a, 'hello')

@ raises ( ValueError ) def test_randomize_corrmat_tail_error ( ) : a = rs . randn ( 3 , 30 ) algo . randomize_corrmat ( a , 'hello' )
test that we are strict about tail paramete .