code: def test_moved_exceptions(name):
      # These were moved to the exceptions namespace, but currently still
      # available
      assert name in np.__all__
      assert name not in np.__dir__()
      # Fetching works, but __module__ is set correctly:
      assert getattr(np, name).__module__ == "numpy.exceptions"
      assert name in np.exceptions.__all__
      getattr(np.exceptions, name)
  
imports: import sys
  import sysconfig
  import subprocess
  import pkgutil
  import types
  import importlib
  import warnings
  import numpy
  import numpy
  import pytest
  from numpy.testing import IS_WASM
label_desc: Use image node_id 13 for calling a global function with example usage: test_moved_exceptions(name) without return types