code: def test_record_video_reset():
      env = gym.make(
          "CartPole-v1",
          render_mode="rgb_array",
          disable_env_checker=True,
      )
      env = gym.wrappers.RecordVideo(
          env, "videos", step_trigger=lambda x: x % 100 == 0
      )
      ob_space = env.observation_space
      obs, info = env.reset()
      env.close()
      assert os.path.isdir("videos")
      shutil.rmtree("videos")
      assert ob_space.contains(obs)
      assert isinstance(info, dict)
  
file_path: gym/tests/wrappers/test_record_video.py
imports: import os
  import shutil
  import gym
  from gym.wrappers import capped_cubic_video_schedule
label_desc: Use image node_id 2 for calling a global function with example usage: test_record_video_reset() without return types