code: def test_env_spec_pickleable():
      env_spec = EnvSpec(
          akro.Box(-1, 1, (1,)), akro.Box(-2, 2, (2,)), 500
      )
      round_trip = cloudpickle.loads(cloudpickle.dumps(env_spec))
      assert round_trip
      assert round_trip.action_space == env_spec.action_space
      assert round_trip.observation_space == env_spec.observation_space
      assert (
          round_trip.max_episode_length == env_spec.max_episode_length
      )
  
file_path: garage/tests/garage/test_environment.py
imports: import akro
  import cloudpickle
  import numpy
  import pytest
  from garage import EnvSpec, EnvStep, StepType
label_desc: Use image node_id 1 for calling a global function with example usage: test_env_spec_pickleable() without return types