class_docstr: Test conversion of queues to DAGs
class_docstr_tok: ["Test","conversion","of","queues","to","DAGs"]
docstr: A test for getting the maximum number of measurements on any wire in
  the circuit graph.
docstr_tok: ["A","test","for","getting","the","maximum","number","of","measurements","on","any","wire","in","the","circuit","graph","."]
code: def test_max_simultaneous_measurements(self, circ, expected):
      """A test for getting the maximum number of measurements on any wire in
      the circuit graph."""
  
      dev = qml.device("default.qubit", wires=3)
      qnode = qml.QNode(circ, dev)
      qnode()
      circuit = qnode.qtape.graph
      assert circuit.max_simultaneous_measurements == expected
  
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 12 for calling the TestCircuitGraph obj's underlying member method code with example usage: obj.test_max_simultaneous_measurements(circ, expected) without return types