class_docstr: Tests various properties of the Shots class.
docstr: Tests the num_copies property.
docstr_tok: ["Tests","the","num_copies","property","."]
code: def test_num_copies(self, shots, expected):
      """Tests the num_copies property."""
      assert Shots(shots).num_copies == expected
  
imports: import copy
  import pytest
  from pennylane.measurements import Shots, ShotCopies
label_desc: Use image node_id 4 for calling the TestProperties obj's underlying member method code with example usage: obj.test_num_copies(shots, expected) without return types