class_docstr: Test conversion of queues to DAGs
class_docstr_tok: ["Test","conversion","of","queues","to","DAGs"]
docstr: Test that the `observables` property returns the list of observables in the circuit.
docstr_tok: ["Test","that","the","`","observables","`","property","returns","the","list","of","observables","in","the","circuit","."]
code: def test_observables(self, circuit, obs):
      """Test that the `observables` property returns the list of observables in the circuit."""
      assert str(circuit.observables) == str(obs)
  
imports: import io
  import contextlib
  import numpy
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.resource import ResourcesOperation, Resources
  from pennylane.circuit_graph import CircuitGraph
  from pennylane.wires import Wires
label_desc: Use image node_id 7 for calling the TestCircuitGraph obj's underlying member method code with example usage: obj.test_observables(circuit, obs) without return types