def test_call_accepts_func_single_pos_passes():
 @accepts(int)
 def foo(int_1):
  pass
 t = time.time()
 for i in range(0, 10000):
  foo(5)
 return (time.time() - t)

def test_call_accepts_func_single_pos_passes ( ) : @ accepts ( int ) def foo ( int_1 ) : pass t = time . time ( ) for i in range ( 0 , 10000 ) : foo ( 5 ) return ( time . time ( ) - t )
calling an accepts-checked function: single pos .