code: def test_wrong_wrapping_order():
      envs = gym.vector.make(
          "CartPole-v1", num_envs=3, disable_env_checker=True
      )
      wrapped_env = RecordEpisodeStatistics(VectorListInfo(envs))
      wrapped_env.reset()
  
      with pytest.raises(AssertionError):
          wrapped_env.step(wrapped_env.action_space.sample())
  
file_path: gym/tests/wrappers/test_record_episode_statistics.py
imports: import numpy
  import pytest
  import gym
  from gym.wrappers import RecordEpisodeStatistics, VectorListInfo
  from gym.wrappers.record_episode_statistics import add_vector_episode_statistics
label_desc: Use image node_id 4 for calling a global function with example usage: test_wrong_wrapping_order() without return types