code: def test_search_space():
      for space_file, description in formats:
          try:
              config.search_space_file = (
                  Path(__file__).parent / "assets" / space_file
              )
              space = config.json()["searchSpace"]
              assert space == space_correct
          except Exception as e:
              print(
                  "Failed to load search space format: " + description
              )
              raise e
  
imports: import json
  from pathlib import Path
  import yaml
  from nni.experiment.config import ExperimentConfig, AlgorithmConfig, LocalConfig
label_desc: Use image node_id 1 for calling a global function with example usage: test_search_space() without return types