code: def test_cannot_access_globals_from_calling_scope():
      from .enclosed_config_scope import cfg2 as conf_scope
  
      with pytest.raises(NameError):
          conf_scope()
  
imports: import pytest
  import sacred.optional
  from sacred.config.config_scope import ConfigScope, dedent_function_body, dedent_line, get_function_body, is_empty_or_comment
  from sacred.config.custom_containers import DogmaticDict, DogmaticList
label_desc: Use image node_id 22 for calling a global function with example usage: test_cannot_access_globals_from_calling_scope() without return types