code: def test_import_reexport_equivalency(module_name: str):
      """Tests whether a module's __all__ is equivalent to its imports. This assumes that this module is supposed to
      re-export all imported values.
      module_name (str): Module to load.
      """
      mod = importlib.import_module(module_name)
  
      assert set(mod.__all__) == {
          k
          for k in set(
              n for i in get_imports(str(mod.__file__)) for n in i.name
          )
          if (
              # Ignore all values prefixed with _, as we expect those not to be re-exported.
              # However, __version__ should be reexported in thinc/__init__.py.
              (
                  not k.startswith("_")
                  or module_name == "thinc"
                  and k == "__version__"
              )
          )
      }
  
imports: import ast
  import importlib
  from collections import namedtuple
  from typing import List, Tuple
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_import_reexport_equivalency(module_name) without return types