code: def test_unsupported_real_prior():
      """Test unsupported real prior message"""
      dim = Real("yolo", "norm", 0.0001, 1)
      with pytest.raises(TypeError) as exc:
          real_grid(dim, 5)
  
      assert exc.match(
          "Grid Search only supports `loguniform`, `uniform`"
      )
  
imports: from __future__ import annotations
  import logging
  import numpy.testing
  import pytest
  from orion.algo.gridsearch import GridSearch, categorical_grid, discrete_grid, grid, real_grid
  from orion.algo.space import Categorical, Integer, Real, Space
  from orion.testing.algo import BaseAlgoTests
label_desc: Use image node_id 10 for calling a global function with example usage: test_unsupported_real_prior() without return types