code: def test_fn_array_spec(fn_n_spec, backend_fw):
      ivy.set_backend(backend_fw)
      fn, spec = fn_n_spec
      assert ivy.fn_array_spec(fn) == spec
      ivy.previous_backend()
  
imports: import pytest
  from typing import List, Tuple, Dict, Optional, Union
  import ivy
label_desc: Use image node_id 4 for calling a global function with example usage: test_fn_array_spec(fn_n_spec, backend_fw) without return types