class_docstr: Test for the properties
class_docstr_tok: ["Test","for","the","properties"]
docstr: Test that the wires of the measurement process
  match an internal observable
docstr_tok: ["Test","that","the","wires","of","the","measurement","process","match","an","internal","observable"]
code: def test_wires_match_observable(self):
      """Test that the wires of the measurement process
      match an internal observable"""
      obs = qml.Hermitian(np.diag([1, 2, 3, 4]), wires=["a", "b"])
      m = qml.expval(op=obs)
  
      assert np.all(m.wires == obs.wires)
  
imports: import numpy
  import pytest
  import pennylane
  from pennylane.measurements import ClassicalShadowMP, Counts, CountsMP, Expectation, ExpectationMP, MeasurementProcess, MeasurementTransform, MeasurementValue, MidMeasure, MidMeasureMP, MutualInfoMP, PurityMP, Probability, ProbabilityMP, Sample, SampleMeasurement, SampleMP, ShadowExpvalMP, Shots, State, StateMeasurement, StateMP, Variance, VarianceMP, VnEntropyMP, expval, sample, var
  from pennylane.operation import DecompositionUndefinedError
  from pennylane.queuing import AnnotatedQueue
  from pennylane.wires import Wires
label_desc: Use image node_id 1 for calling the TestProperties obj's underlying member method code with example usage: obj.test_wires_match_observable() without return types