code: def test_contains_promotion():
      space = gym.spaces.Tuple(
          (gym.spaces.Box(0, 1), gym.spaces.Box(-1, 0, (2,)))
      )
  
      assert (
          np.array([0.0], dtype=np.float32),
          np.array([0.0, 0.0], dtype=np.float32),
      ) in space
  
      space = gym.spaces.Tuple(
          (gym.spaces.Box(0, 1), gym.spaces.Box(-1, 0, (1,)))
      )
      assert np.array([[0.0], [0.0]], dtype=np.float32) in space
  
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 4 for calling a global function with example usage: test_contains_promotion() without return types