class_docstr: Tests the Shots class.
docstr: Test that the equality function behaves correctly
docstr_tok: ["Test","that","the","equality","function","behaves","correctly"]
code: def test_eq(self):
      """Test that the equality function behaves correctly"""
      for s in self.shot_data:
          assert s == copy.copy(s)
          assert s == Shots(s.shot_vector if s.shot_vector else None)
  
imports: import copy
  import pytest
  from pennylane.measurements import Shots, ShotCopies
label_desc: Use image node_id 8 for calling the TestShotsConstruction obj's underlying member method code with example usage: obj.test_eq() without return types