class_docstr: Tests the Shots class.
docstr: Test that the repr is correct
docstr_tok: ["Test","that","the","repr","is","correct"]
code: def test_repr(self, expected_str, shots_obj):
      """Test that the repr is correct"""
      assert expected_str == repr(shots_obj)
  
imports: import copy
  import pytest
  from pennylane.measurements import Shots, ShotCopies
label_desc: Use image node_id 7 for calling the TestShotsConstruction obj's underlying member method code with example usage: obj.test_repr(expected_str, shots_obj) without return types