code: def test_space_from_space():
      """Test that a `Space` instance can be passed to a `Space` constructor"""
      space_0 = Space(
          [
              (0.0, 1.0),
              (-5, 5),
              ("a", "b", "c"),
              (1.0, 5.0, "log-uniform"),
              ("e", "f"),
          ]
      )
      space_1 = Space(space_0)
      assert_equal(space_0, space_1)
  
imports: from hyperparameter_hunter.optimization.backends.skopt.engine import Optimizer
  from hyperparameter_hunter.space.dimensions import Real, Integer, Categorical
  from hyperparameter_hunter.space.space_core import Space, check_dimension, normalize_dimensions
  import numbers
  import numpy
  import pytest
  from sklearn.utils.testing import assert_array_almost_equal, assert_array_equal, assert_equal
label_desc: Use image node_id 14 for calling a global function with example usage: test_space_from_space() without return types