class_docstr: Unit Tests for ClassicalShadow class
docstr: Test that an error is raised when a ClassicalShadow object
  is created using a wire map with the incorrect size
code: def test_wire_mismatch_error(self):
      """Test that an error is raised when a ClassicalShadow object
      is created using a wire map with the incorrect size"""
      bits = np.random.randint(0, 1, size=(3, 4))
      recipes = np.random.randint(0, 2, size=(3, 4))
      wire_map = [0, 1, 2]
  
      msg = "The 1st axis of bits must have the same size as wire_map"
      with pytest.raises(ValueError, match=msg):
          ClassicalShadow(bits, recipes, wire_map=wire_map)
  
imports: import pytest
  import numpy
  import pennylane
  import pennylane.numpy
  from pennylane.shadows import ClassicalShadow, median_of_means, pauli_expval
label_desc: Use image node_id 3 for calling the TestUnitTestClassicalShadows obj's underlying member method code with example usage: obj.test_wire_mismatch_error() without return types