code: def test_orion_configspace_unsupported():
      space = Space()
      space.register(Integer("a1i", "alpha", 1, 6))
  
      with pytest.raises(UnsupportedPrior):
          _ = to_configspace(space)
  
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 5 for calling a global function with example usage: test_orion_configspace_unsupported() without return types