code: def test_array_creation():
      def fun(x, N):
          arr = [x for i in range(N)]
          return np.sum(np.array(arr))
  
      assert_linear_time(lambda N: grad(fun)(1.0, 200 * N))
  
file_path: autograd/tests/_test_complexity.py
imports: import time
  import warnings
  from autograd import grad, deriv
  import autograd.numpy
  from autograd.builtins import list
label_desc: Use image node_id 3 for calling a global function with example usage: test_array_creation() and returns: np