code: def test_no_more_dotting():
      root = configdefaults.config
      with pytest.raises(ValueError, match="Dot-based"):
          root.add(
              "test.something",
              doc="unittest",
              configparam=ConfigParam("invalid"),
              in_c_key=False,
          )
  
imports: import configparser
  import io
  import pickle
  import pytest
  from pytensor import configdefaults, configparser
  from pytensor.configdefaults import short_platform
  from pytensor.configparser import ConfigParam
label_desc: Use image node_id 8 for calling a global function with example usage: test_no_more_dotting() without return types