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