code: def test_run_multigym(name: str) -> None:
      raise SkipTest("Skipping GYM for now.")
      if os.name == "nt" or np.random.randint(8) or "CubeCrash" in name:
          raise SkipTest("Skipping Windows and running only 1 out of 8")
      if "ANM" in name:
          raise SkipTest("We skip ANM6Easy and related problems.")
  
      func = multigym.GymMulti(randomized=False, neural_factor=None)
      x = np.zeros(func.dimension)
      value = func(x)
      np.testing.assert_almost_equal(value, 178.2, decimal=2)
      i = GYM_ENV_NAMES.index(name)
      control = multigym.CONTROLLERS[i % len(multigym.CONTROLLERS)]
      print(f"Working with {control} on {name}.")
      func = multigym.GymMulti(
          name,
          control,
          neural_factor=(
              None
              if (control == "linear" or "conformant" in control)
              else 1
          ),
          randomized=bool(np.random.randint(2)),
      )
      y = func.parametrization.sample()
      func(y.value)
      if (
          "stac" in control and "Acrobat" in name
      ):  # Let's check if the memory works.
          np.testing.assert_almost_equal(func(y.value), 500, decimal=2)
      if (
          "stac" in control and "Pendulum-v0" in name
      ):  # Let's check if the memory works.
          np.testing.assert_almost_equal(
              func(y.value), 1720.39, decimal=2
          )
  
file_path: nevergrad/nevergrad/functions/gym/test_multigym.py
imports: import gym
  import os
  from unittest import SkipTest
  import numpy
  import pytest
  from .None import multigym
label_desc: Use image node_id 2 for calling a global function with example usage: test_run_multigym(name) without return types