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