code: def _cleanup():
      global _module_dir
      if _module_dir is not None:
          try:
              sys.path.remove(_module_dir)
          except ValueError:
              pass
          try:
              shutil.rmtree(_module_dir)
          except OSError:
              pass
          _module_dir = None
  
imports: import glob
  import os
  import sys
  import subprocess
  import tempfile
  import shutil
  import atexit
  import textwrap
  import re
  import pytest
  import contextlib
  import numpy
  from pathlib import Path
  from numpy._utils import asunicode
  from numpy.testing import temppath, IS_WASM
  from importlib import import_module
label_desc: Use image node_id 1 for calling a global function with example usage: _cleanup() without return types