code: def test_configspace_to_orion_unsupported():
      from ConfigSpace import ConfigurationSpace
      from ConfigSpace.hyperparameters import OrdinalHyperparameter
  
      cspace = ConfigurationSpace()
      cspace.add_hyperparameters(
          [OrdinalHyperparameter("a", (1, 2, 0, 3))]
      )
  
      with pytest.raises(NotImplementedError):
          _ = to_orionspace(cspace)
  
file_path: orion/tests/unittests/algo/test_configspace.py
imports: import pytest
  from orion.algo.space import Categorical, Fidelity, Integer, Real, Space, to_orionspace
  from orion.algo.space.configspace import IMPORT_ERROR, UnsupportedPrior, to_configspace
label_desc: Use image node_id 4 for calling a global function with example usage: test_configspace_to_orion_unsupported() without return types