class_docstr: Unit tests for classical_shadow measurement
class_docstr_tok: ["Unit","tests","for","classical_shadow","measurement"]
docstr: Test that the shape of the MeasurementProcess matches the shape
  of the tape execution
docstr_tok: ["Test","that","the","shape","of","the","MeasurementProcess","matches","the","shape","of","the","tape","execution"]
code: def test_shape_matches(self, wires):
      """Test that the shape of the MeasurementProcess matches the shape
      of the tape execution"""
      shots = 100
  
      circuit = get_circuit(wires, shots, True)
      circuit.construct((), {})
  
      res = qml.execute([circuit.tape], circuit.device, None)[0]
      expected_shape = qml.classical_shadow(wires=range(wires)).shape(
          circuit.device, Shots(shots)
      )
  
      assert res.shape == expected_shape
  
imports: import autograd.numpy
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.measurements import Shots
label_desc: Use image node_id 2 for calling the TestClassicalShadow obj's underlying member method code with example usage: obj.test_shape_matches(wires) without return types