code: def test_instrumentation_init_error() -> None:
      variable = p.Scalar()
      np.testing.assert_raises(
          ValueError, p.Instrumentation, variable, variable
      )
  
file_path: nevergrad/nevergrad/parametrization/test_parameters_legacy.py
imports: import typing
  import numpy
  import pytest
  from .None import parameter
label_desc: Use image node_id 5 for calling a global function with example usage: test_instrumentation_init_error() without return types