class_docstr: Test that the transform integrates well with QNodes.
docstr: Test that users can collect measurement statistics on
  a single mid-circuit measurement.
docstr_tok: ["Test","that","users","can","collect","measurement","statistics","on","a","single","mid-circuit","measurement","."]
code: def test_measurement_statistics_single_wire(self, shots):
      """Test that users can collect measurement statistics on
      a single mid-circuit measurement."""
      dev = DefaultQubit(seed=10)
  
      @qml.qnode(dev)
      def circ1(x):
          qml.RX(x, 0)
          m0 = qml.measure(0)
          return qml.probs(op=m0)
  
      dev = DefaultQubit(seed=10)
  
      @qml.qnode(dev)
      def circ2(x):
          qml.RX(x, 0)
          return qml.probs(wires=[0])
  
      param = 1.5
      assert np.allclose(
          circ1(param, shots=shots), circ2(param, shots=shots)
      )
  
imports: import math
  import pytest
  import pennylane
  from pennylane.measurements import MidMeasureMP, MeasurementValue
  import pennylane.numpy
  from pennylane.devices import DefaultQubit
label_desc: Use image node_id 8 for calling the TestQNode obj's underlying member method code with example usage: obj.test_measurement_statistics_single_wire(shots) and returns: qml, qml