code: def test_set_subconfig_over_option():
      """Test that overwriting an option with a subconfig is not possible"""
      config = Configuration()
      config.add_option("test", option_type=int)
      config.test = 1
      assert config.test == 1
      with pytest.raises(TypeError) as exc:
          config.test = Configuration()
      assert "Cannot overwrite option test with a configuration" in str(
          exc.value
      )
  
imports: import argparse
  import logging
  import os
  import pytest
  import yaml
  from orion.core.io.config import Configuration, ConfigurationError
label_desc: Use image node_id 9 for calling a global function with example usage: test_set_subconfig_over_option() without return types