code: def test_access_invalid_setting():
      SETTINGS = copy.deepcopy(DEFAULT_SETTINGS)
      with pytest.raises(SettingError):
          SETTINGS.INVALID_SETTING = "invalid"
      with pytest.raises(SettingError):
          SETTINGS["INVALID_SETTING"] = "invalid"
  
imports: import copy
  from sacred import SETTINGS
  import pytest
  from sacred.settings import SettingError
label_desc: Use image node_id 1 for calling a global function with example usage: test_access_invalid_setting() without return types