class_docstr: Test the stop_recording method of QueuingManager.
class_docstr_tok: ["Test","the","stop_recording","method","of","QueuingManager","."]
docstr: A QNode with a stop_recording qfunc will result in no quantum measurements.
docstr_tok: ["A","QNode","with","a","stop_recording","qfunc","will","result","in","no","quantum","measurements","."]
code: def test_stop_recording_qnode_qfunc(self):
      """A QNode with a stop_recording qfunc will result in no quantum measurements."""
      dev = qml.device("default.qubit", wires=1)
  
      @qml.qnode(dev)
      @QueuingManager.stop_recording()
      def my_circuit():
          qml.PauliX(wires=0)
          return qml.expval(qml.PauliZ(0))
  
      result = my_circuit()
      assert len(result) == 0
  
      tape = my_circuit.qtape
      assert len(tape.operations) == 0
      assert len(tape.measurements) == 0
  
imports: from multiprocessing.dummy import Pool
  import pytest
  import numpy
  import pennylane
  from pennylane.queuing import AnnotatedQueue, QueuingManager, QueuingError, WrappedObj
label_desc: Use image node_id 4 for calling the TestStopRecording obj's underlying member method code with example usage: obj.test_stop_recording_qnode_qfunc() and returns: qml