class_docstr: Tests for the probs function
class_docstr_tok: ["Tests","for","the","probs","function"]
docstr: Test that using ``qml.probs`` with no arguments returns the probabilities of all wires.
docstr_tok: ["Test","that","using","``","qml.probs","``","with","no","arguments","returns","the","probabilities","of","all","wires","."]
code: def test_probs_no_arguments(self, shots):
      """Test that using ``qml.probs`` with no arguments returns the probabilities of all wires."""
      dev = qml.device("default.qubit.legacy", wires=3, shots=shots)
  
      @qml.qnode(dev)
      def circuit():
          return qml.probs()
  
      res = circuit()
  
      assert qml.math.allequal(res, [1, 0, 0, 0, 0, 0, 0, 0])
  
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 4 for calling the TestProbs obj's underlying member method code with example usage: obj.test_probs_no_arguments(shots) and returns: qml