class_docstr: Test that single measurements return behavior does not change.
class_docstr_tok: ["Test","that","single","measurements","return","behavior","does","not","change","."]
docstr: Return a single prob.
docstr_tok: ["Return","a","single","prob","."]
code: def test_probs(self, op, wires, device, interface, shots):
      """Return a single prob."""
      dev = qml.device(device, wires=3, shots=shots)
  
      def circuit(x):
          qml.Hadamard(wires=[0])
          qml.CRX(x, wires=[0, 1])
          return qml.probs(op=op, wires=wires)
  
      qnode = qml.QNode(circuit, dev)
      qnode.construct([0.5], {})
  
      res = qml.execute(
          tapes=[qnode.tape],
          device=dev,
          gradient_fn=None,
          interface=interface,
      )
  
      if wires is None:
          wires = op.wires
  
      assert res[0].shape == (2 ** len(wires),)
      assert isinstance(res[0], np.ndarray)
  
imports: import numpy
  import pytest
  import pennylane
  from pennylane.measurements import MeasurementProcess
label_desc: Use image node_id 8 for calling the TestSingleReturnExecute obj's underlying member method code with example usage: obj.test_probs(op, wires, device, interface, shots) and returns: qml