code: def test_vector_make_asynchronous():
      env = gym.vector.make("CartPole-v1", asynchronous=True)
      assert isinstance(env, AsyncVectorEnv)
      env.close()
  
      env = gym.vector.make("CartPole-v1", asynchronous=False)
      assert isinstance(env, SyncVectorEnv)
      env.close()
  
file_path: gym/tests/vector/test_vector_make.py
imports: import pytest
  import gym
  from gym.vector import AsyncVectorEnv, SyncVectorEnv
  from gym.wrappers import OrderEnforcing, TimeLimit, TransformObservation
  from gym.wrappers.env_checker import PassiveEnvChecker
  from tests.wrappers.utils import has_wrapper
label_desc: Use image node_id 3 for calling a global function with example usage: test_vector_make_asynchronous() without return types