class_docstr: Test the stop_recording method of QueuingManager.
class_docstr_tok: ["Test","the","stop_recording","method","of","QueuingManager","."]
docstr: Test that the stop_recording transform when applied to a function
  is not recorded by a QNode
docstr_tok: ["Test","that","the","stop_recording","transform","when","applied","to","a","function","is","not","recorded","by","a","QNode"]
code: def test_stop_recording_on_function_inside_QNode(self):
      """Test that the stop_recording transform when applied to a function
      is not recorded by a QNode"""
      dev = qml.device("default.qubit", wires=1)
  
      @QueuingManager.stop_recording()
      def my_op():
          return [
              qml.RX(0.123, wires=0),
              qml.RY(2.32, wires=0),
              qml.RZ(1.95, wires=0),
          ]
  
      res = []
  
      @qml.qnode(dev)
      def my_circuit():
          res.extend(my_op())
          return qml.expval(qml.PauliZ(0))
  
      my_circuit.construct([], {})
      tape = my_circuit.qtape
  
      assert len(tape.operations) == 0
      assert len(res) == 3
  
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 1 for calling the TestStopRecording obj's underlying member method code with example usage: obj.test_stop_recording_on_function_inside_QNode() and returns: list, qml