code: def test_config_eq():
      basic_c = Config()
      c1 = ConfigTest(param=1)
      c1_other = ConfigTest(param=1)
      c2 = ConfigTest(param=2)
  
      c_nested = ConfigTest(param=1, config=c1)
      c_nested_other = ConfigTest(param=1, config=c1_other)
      c_nested_c2 = ConfigTest(param=1, config=c2)
  
      assert c1 != "OTHER_TYPE"
      assert c1 != basic_c
      assert c1 == c1_other
      assert c1 != c2
      assert c_nested == c_nested_other
      assert c_nested != c_nested_c2
  
file_path: sockeye/test/unit/test_config.py
imports: import tempfile
  from dataclasses import dataclass
  import os
  from typing import Any, Optional
  from sockeye.config import Config
label_desc: Use image node_id 2 for calling a global function with example usage: test_config_eq() without return types