class_docstr: Tests the Shots class.
docstr: Tests the constructor when shots is None.
docstr_tok: ["Tests","the","constructor","when","shots","is","None","."]
code: def test_None(self):
      """Tests the constructor when shots is None."""
      shots1 = Shots(None)
      shots2 = Shots()  # this also defaults to None
      assert shots1.shot_vector == ()
      assert shots2.shot_vector == ()
      assert shots1.total_shots is None
      assert shots2.total_shots is None
  
imports: import copy
  import pytest
  from pennylane.measurements import Shots, ShotCopies
label_desc: Use image node_id 3 for calling the TestShotsConstruction obj's underlying member method code with example usage: obj.test_None() without return types