class_docstr: Unit tests for classical_shadow measurement
class_docstr_tok: ["Unit","tests","for","classical_shadow","measurement"]
docstr: Test that an error is raised when classical shadows is returned
  with other measurement processes
docstr_tok: ["Test","that","an","error","is","raised","when","classical","shadows","is","returned","with","other","measurement","processes"]
code: def test_multi_measurement_error(self, wires, shots):
      """Test that an error is raised when classical shadows is returned
      with other measurement processes"""
      dev = qml.device("default.qubit.legacy", wires=wires, shots=shots)
  
      @qml.qnode(dev)
      def circuit():
          qml.Hadamard(wires=0)
  
          for target in range(1, wires):
              qml.CNOT(wires=[0, target])
  
          return qml.classical_shadow(wires=range(wires)), qml.expval(
              qml.PauliZ(0)
          )
  
      msg = "Classical shadows cannot be returned in combination with other return types"
      with pytest.raises(qml.QuantumFunctionError, match=msg):
          circuit()
  
imports: import autograd.numpy
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.measurements import Shots
label_desc: Use image node_id 5 for calling the TestClassicalShadow obj's underlying member method code with example usage: obj.test_multi_measurement_error(wires, shots) and returns: qml,  qml