class_docstr: Ways of Dimensions builder.
class_docstr_tok: ["Ways","of","Dimensions","builder","."]
docstr: What happens if somebody 'forgets' stuff?
docstr_tok: ["What","happens","if","somebody","'forgets","'","stuff","?"]
code: def test_build_fails_because_empty_args(self, dimbuilder):
      """What happens if somebody 'forgets' stuff?"""
      with pytest.raises(TypeError) as exc:
          dimbuilder.build("yolo", "choices()")
      assert "Parameter" in str(exc.value)
      assert "categories" in str(exc.value)
  
      with pytest.raises(TypeError) as exc:
          dimbuilder.build("what", "alpha()")
      assert "Parameter" in str(exc.value)
      assert "positional" in str(exc.value.__cause__)
  
imports: import pytest
  from scipy.stats import distributions
  from orion.algo.space import Categorical, Fidelity, Integer, Real
  from orion.core.io.space_builder import DimensionBuilder, SpaceBuilder
label_desc: Use image node_id 15 for calling the TestDimensionBuilder obj's underlying member method code with example usage: obj.test_build_fails_because_empty_args(dimbuilder) without return types