class_docstr: Tests for the annotated queue class
class_docstr_tok: ["Tests","for","the","annotated","queue","class"]
docstr: Test appending an object that writes annotations when queuing itself
docstr_tok: ["Test","appending","an","object","that","writes","annotations","when","queuing","itself"]
code: def test_append_annotating_object(self):
      """Test appending an object that writes annotations when queuing itself"""
  
      with AnnotatedQueue() as q:
          A = qml.PauliZ(0)
          B = qml.PauliY(1)
          tensor_op = qml.operation.Tensor(A, B)
  
      assert q.queue == [tensor_op]
  
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 11 for calling the TestAnnotatedQueue obj's underlying member method code with example usage: obj.test_append_annotating_object() without return types