class_docstr: Tests for the measure function
class_docstr_tok: ["Tests","for","the","measure","function"]
docstr: Test that an error is raised if multiple wires are passed to
  measure.
code: def test_many_wires_error(self):
      """Test that an error is raised if multiple wires are passed to
      measure."""
      with pytest.raises(
          qml.QuantumFunctionError,
          match="Only a single qubit can be measured in the middle of the circuit",
      ):
          qml.measure(wires=[0, 1])
  
imports: from itertools import product
  import pytest
  import pennylane
  import pennylane.numpy
  from pennylane.measurements import MidMeasureMP, MeasurementValue
  from pennylane.wires import Wires
label_desc: Use image node_id 1 for calling the TestMeasure obj's underlying member method code with example usage: obj.test_many_wires_error() without return types