class_docstr: Integration tests for default.gaussian. This test ensures it integrates
  properly with the PennyLane interface, in particular QNode.
class_docstr_tok: ["Integration","tests","for","default.gaussian",".","This","test","ensures","it","integrates","properly","with","the","PennyLane","interface",",","in","particular","QNode","."]
docstr: Test that specifying a list of shots is unsupported for
  default.gaussian and emits a warning
docstr_tok: ["Test","that","specifying","a","list","of","shots","is","unsupported","for","default.gaussian","and","emits","a","warning"]
code: def test_shot_list_warns(self):
      """Test that specifying a list of shots is unsupported for
      default.gaussian and emits a warning"""
  
      shots = [10, 10, 10]
      dev = qml.device("default.gaussian", wires=1, shots=shots)
  
      @qml.qnode(dev)
      def circuit():
          """Test quantum function"""
          return qml.sample(qml.QuadX(0))
  
      with pytest.warns(
          UserWarning,
          match="Specifying a list of shots is only supported for QubitDevice based devices.",
      ):
          circuit()
      assert dev.shots == sum(shots)
  
imports: import numpy
  import numpy.random
  import pytest
  from scipy.linalg import block_diag
  from scipy.special import factorial
  import pennylane
  from pennylane import DeviceError
  from pennylane.devices.default_gaussian import fock_prob, rotation, squeezing, quadratic_phase, beamsplitter, two_mode_squeezing, controlled_addition, controlled_phase, vacuum_state, coherent_state, squeezed_state, displaced_squeezed_state, thermal_state
  from pennylane.wires import Wires
label_desc: Use image node_id 8 for calling the TestDefaultGaussianIntegration obj's underlying member method code with example usage: obj.test_shot_list_warns() and returns: qml