@raises(TypeError)
def test_bootstrap_noncallable():
 non_func = 'mean'
 algo.bootstrap(a_norm, 100, non_func)

@ raises ( TypeError ) def test_bootstrap_noncallable ( ) : non_func = 'mean' algo . bootstrap ( a_norm , 100 , non_func )
test that we get a typeerror with noncallable algo .