code: def test_not_allowed_case():
      with pytest.raises(ValueError):
          perform_masked_global_pooling_test_dim3_pool_2(
              3, 5, 7, True, "something"
          )
  
file_path: maze/maze/test/perception/blocks/test_masked_global_pooling.py
imports: import pytest
  from maze.perception.blocks.general.masked_global_pooling import MaskedGlobalPoolingBlock
  from maze.test.perception.perception_test_utils import build_multi_input_dict
label_desc: Use image node_id 7 for calling a global function with example usage: test_not_allowed_case() without return types