class_docstr: Tests for the probs function
class_docstr_tok: ["Tests","for","the","probs","function"]
docstr: Test that the right measurement class is queued.
docstr_tok: ["Test","that","the","right","measurement","class","is","queued","."]
code: def test_queue(self):
      """Test that the right measurement class is queued."""
      dev = qml.device("default.qubit.legacy", wires=2)
  
      @qml.qnode(dev)
      def circuit():
          return qml.probs(wires=0)
  
      circuit()
  
      assert isinstance(circuit.tape[0], ProbabilityMP)
  
imports: import numpy
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.measurements import ProbabilityMP, Shots
  from pennylane.devices.qubit.measure import flatten_state
label_desc: Use image node_id 1 for calling the TestProbs obj's underlying member method code with example usage: obj.test_queue() and returns: qml