class_docstr: Test all the dunder methods associated with the MeasurementValue class
class_docstr_tok: ["Test","all","the","dunder","methods","associated","with","the","MeasurementValue","class"]
docstr: Test the __ne__ dunder method between a MeasurementValue and an integer.
code: def test_non_equality_with_scalar(self):
      """Test the __ne__ dunder method between a MeasurementValue and an integer."""
      m = MeasurementValue([mp1], lambda v: v)
      m_eq = m != 0
      assert (
          m_eq[0] is False
      )  # confirming value is actually eq to True, not just truthy
      assert m_eq[1] is True
  
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 30 for calling the TestMeasurementValueManipulation obj's underlying member method code with example usage: obj.test_non_equality_with_scalar() without return types