class_docstr: Test methods for resolution of changed dimensions
class_docstr_tok: ["Test","methods","for","resolution","of","changed","dimensions"]
docstr: Verify adapters with old and new priors of different shapes
docstr_tok: ["Verify","adapters","with","old","and","new","priors","of","different","shapes"]
code: def test_adapters_shape(self, change_dimension_shape_resolution):
      """Verify adapters with old and new priors of different shapes"""
      name = "changed_shape"
      old_prior = "uniform(-10, 10)"
      new_prior = "uniform(-10, 10, shape=2)"
      resolution_adapters = (
          change_dimension_shape_resolution.get_adapters()
      )
      assert len(resolution_adapters) == 1
      assert (
          resolution_adapters[0].configuration
          == adapters.DimensionPriorChange(
              name, old_prior, new_prior
          ).configuration
      )
  
imports: import pytest
  from orion.algo.space import Dimension
  from orion.core.evc import adapters, conflicts
  from orion.testing.evc import add_default_config_for_missing
label_desc: Use image node_id 4 for calling the TestChangeDimensionResolution obj's underlying member method code with example usage: obj.test_adapters_shape(change_dimension_shape_resolution) without return types