code: def test_make_vec_env(env_id, n_envs, vec_env_cls, wrapper_class):
      env = make_vec_env(
          env_id,
          n_envs,
          vec_env_cls=vec_env_cls,
          wrapper_class=wrapper_class,
          monitor_dir=None,
          seed=0,
      )
  
      assert env.num_envs == n_envs
  
      if vec_env_cls is None:
          assert isinstance(env, DummyVecEnv)
          if wrapper_class is not None:
              assert isinstance(env.envs[0], wrapper_class)
          else:
              assert isinstance(env.envs[0], Monitor)
      else:
          assert isinstance(env, SubprocVecEnv)
      # Kill subprocesses
      env.close()
  
file_path: stable-baselines/tests/test_utils.py
imports: import os
  import shutil
  import pytest
  import gym
  from stable_baselines import A2C
  from stable_baselines.bench.monitor import Monitor
  from stable_baselines.common.evaluation import evaluate_policy
  from stable_baselines.common.cmd_util import make_vec_env
  from stable_baselines.common.vec_env import DummyVecEnv, SubprocVecEnv
label_desc: Use image node_id 1 for calling a global function with example usage: test_make_vec_env(env_id, n_envs, vec_env_cls, wrapper_class) without return types