docstr: Test that the attributes of the MeasurementProcess instance are
  correctly copied
docstr_tok: ["Test","that","the","attributes","of","the","MeasurementProcess","instance","are","correctly","copied"]
code: def test_measurement_process_copy(self):
      """Test that the attributes of the MeasurementProcess instance are
      correctly copied"""
      H = qml.PauliZ(0)
      res = qml.shadow_expval(H, k=10)
  
      copied_res = copy.copy(res)
      assert type(copied_res) == type(
          res
      )  # pylint: disable=unidiomatic-typecheck
      assert copied_res.return_type == res.return_type
      assert qml.equal(copied_res.H, res.H)
      assert copied_res.k == res.k
      assert copied_res.seed == res.seed
  
imports: import copy
  import autograd.numpy
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.measurements import ClassicalShadowMP, Shots
  from pennylane.measurements.classical_shadow import ShadowExpvalMP
label_desc: Use image node_id 4 for calling the TestExpvalMeasurement obj's underlying member method code with example usage: obj.test_measurement_process_copy() without return types