code: def test_bad_space_calls(space_fn):
      with pytest.raises(AssertionError):
          space_fn()
  
file_path: gym/tests/spaces/test_tuple.py
imports: import numpy
  import pytest
  import gym.spaces
  from gym.spaces import Box, Dict, Discrete, MultiBinary, Tuple
  from gym.utils.env_checker import data_equivalence
label_desc: Use image node_id 3 for calling a global function with example usage: test_bad_space_calls(space_fn) without return types