code: def test_spec_kwargs():
      map_name_value = "8x8"
      env = gym.make("FrozenLake-v1", map_name=map_name_value)
      assert env.spec.kwargs["map_name"] == map_name_value
  
file_path: gym/tests/envs/test_spec.py
imports: import re
  import pytest
  import gym
label_desc: Use image node_id 2 for calling a global function with example usage: test_spec_kwargs() without return types