class_docstr: Class to test the private function _make_probs.
class_docstr_tok: ["Class","to","test","the","private","function","_make_probs","."]
docstr: Testing the private _make_probs transform
docstr_tok: ["Testing","the","private","_make_probs","transform"]
code: def test_make_probs(self, shots):
      """Testing the private _make_probs transform"""
      with qml.queuing.AnnotatedQueue() as q:
          qml.PauliX(0)
          qml.PauliZ(1)
          qml.PauliY(2)
      tape = qml.tape.QuantumScript.from_queue(q, shots=shots)
      new_tape, fn = _make_probs(tape)
      assert len(new_tape) == 1
      assert np.isclose(fn([1]), 1)
      assert new_tape[0].shots == tape.shots
  
imports: import pytest
  import numpy
  import pennylane
  import pennylane.numpy
  from pennylane.qinfo import classical_fisher, quantum_fisher
  from pennylane.qinfo.transforms import _make_probs, _compute_cfim
label_desc: Use image node_id 2 for calling the TestMakeProbs obj's underlying member method code with example usage: obj.test_make_probs(shots) without return types