code: def test_pickleable(self):
      domain_name, task_name = dm_control.suite.ALL_TASKS[0]
      env = DMControlEnv.from_suite(domain_name, task_name)
      round_trip = pickle.loads(pickle.dumps(env))
      assert round_trip
      # Skip rendering because it causes TravisCI to run out of memory
      # Sometimes random actions lead to physics errors
      with env._env.physics.suppress_physics_errors():
          step_env(env, visualize=False)
      round_trip.close()
      env.close()
  
file_path: garage/tests/garage/envs/dm_control/test_dm_control_env.py
imports: import collections.abc
  from copy import copy
  import pickle
  import dm_control.mujoco
  import dm_control.suite
  import pytest
  from garage.envs.dm_control import DMControlEnv
  from tests.helpers import step_env
label_desc: Use image node_id 3 for calling the TestDMControlEnv obj's underlying member method code with example usage: obj.test_pickleable() without return types