class_docstr: Tests for the probs function
class_docstr_tok: ["Tests","for","the","probs","function"]
docstr: Test that using ``qml.probs`` with an empty wire list raises an error.
code: def test_probs_empty_wires(self):
      """Test that using ``qml.probs`` with an empty wire list raises an error."""
      with pytest.raises(
          ValueError, match="Cannot set an empty list of wires."
      ):
          qml.probs(wires=[])
  
imports: import numpy
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.measurements import MeasurementProcess, Probability, ProbabilityMP, Shots
  from pennylane.queuing import AnnotatedQueue
label_desc: Use image node_id 7 for calling the TestProbs obj's underlying member method code with example usage: obj.test_probs_empty_wires() without return types