docstr: Test that the shape of the MeasurementProcess instance is correct
docstr_tok: ["Test","that","the","shape","of","the","MeasurementProcess","instance","is","correct"]
code: def test_measurement_process_shape(self, wires, shots):
      """Test that the shape of the MeasurementProcess instance is correct"""
      dev = qml.device("default.qubit.legacy", wires=wires, shots=shots)
      H = qml.PauliZ(0)
      res = qml.shadow_expval(H)
      assert len(res.shape(dev, Shots(shots))) == 0
  
imports: import autograd.numpy
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.measurements import Shots
label_desc: Use image node_id 1 for calling the TestExpvalMeasurement obj's underlying member method code with example usage: obj.test_measurement_process_shape(wires, shots) without return types