code: def test_get_experiment_info_circular_dependency_raises(ing):
      ing2 = Ingredient("other", ingredients=[ing])
      ing.ingredients = [ing2]
      with pytest.raises(CircularDependencyError):
          ing.get_experiment_info()
  
imports: import os
  import pytest
  import tempfile
  from sacred.config import ConfigScope, ConfigDict
  from sacred.dependencies import Source, PackageDependency
  from sacred.experiment import Experiment
  from sacred.ingredient import Ingredient
  from sacred.utils import CircularDependencyError
  from sacred.serializer import json
label_desc: Use image node_id 29 for calling a global function with example usage: test_get_experiment_info_circular_dependency_raises(ing) without return types