code: def test_all_gym_envs(self, spec):
      if spec._env_name.startswith("Defender"):
          pytest.skip(
              "Defender-* envs bundled in atari-py 0.2.x don't load"
          )
      if spec._env_name.startswith("CarRacing"):
          pytest.skip(
              "CarRacing-* envs bundled in atari-py 0.2.x don't load"
          )
      if spec._env_name.startswith("KellyCoinflip"):
          pytest.skip(
              "KellyCoinflip env has tuple observation, not np.array"
          )
      if "Kuka" in spec.id:
          # Kuka environments calls py_bullet.resetSimulation() in reset()
          # unconditionally, which globally resets other simulations. So
          # only one Kuka environment can be tested.
          pytest.skip("Skip Kuka Bullet environments")
      env = GymEnv(spec.id)
      step_env_with_gym_quirks(env, spec, visualize=False)
  
imports: import pickle
  import gym
  import pytest
  from garage.envs import GymEnv
  from tests.helpers import step_env_with_gym_quirks
label_desc: Use image node_id 1 for calling the TestGymEnv obj's underlying member method code with example usage: obj.test_all_gym_envs(spec) without return types