code: def test_env_infos_batch_mismatch_batch(batch_data):
      with pytest.raises(
          ValueError, match="Entry 'goal' in env_infos has batch size 1"
      ):
          batch_data["env_infos"]["goal"] = batch_data["env_infos"][
              "goal"
          ][:-1]
          s = TimeStepBatch(**batch_data)
          del s
  
imports: import akro
  import gym.spaces
  import numpy
  import pytest
  from garage import EnvSpec, EnvStep, EpisodeBatch, StepType, TimeStep, TimeStepBatch
label_desc: Use image node_id 41 for calling a global function with example usage: test_env_infos_batch_mismatch_batch(batch_data) without return types