code: def test_eq_correctness():
      """Test that using `==` on measurement processes behaves the same as
      `qml.equal`."""
  
      class DummyMP(MeasurementProcess):
          """Dummy measurement process with no return type."""
  
      mp1 = DummyMP(wires=qml.wires.Wires(0))
      mp2 = DummyMP(wires=qml.wires.Wires(0))
  
      assert mp1 == mp1  # pylint: disable=comparison-with-itself
      assert mp1 == mp2
  
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 6 for calling a global function with example usage: test_eq_correctness() without return types