class_docstr: Unit Tests for ClassicalShadow class
docstr: Test the output shape of snapshots method
code: def test_unittest_snapshots(self, shadow):
      """Test the output shape of snapshots method"""
      T, n = shadow.bits.shape
      assert (T, n) == shadow.recipes.shape
      assert shadow.snapshots == T
      assert shadow.local_snapshots().shape == (T, n, 2, 2)
      assert shadow.global_snapshots().shape == (T, 2**n, 2**n)
  
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 1 for calling the TestUnitTestClassicalShadows obj's underlying member method code with example usage: obj.test_unittest_snapshots(shadow) without return types